import sys
from pandas import read_csv

input_file = sys.argv[1]

data = read_csv(input_file)

dataFrame = data.iloc[:,:].values
# print(len(dataFrame[0]))

for i in range(len(list(dataFrame[0]))):
    dataFrame1 = data.iloc[:,i].values
    # print(dataFrame1)
    s = set(list(dataFrame1))
    # print(s)
    print(str(i) + " : " + str(len(s)))