Set .add()

  • + 0 comments
    N = int(input())
    
    stamps = [ ((input())) for _ in range(N)]
    
    
    print(len(set(stamps)))