#!/usr/bin/python
import sys

# input comes from STDIN (standard input)
count =0 
for line in sys.stdin:
    # remove leading and trailing whitespace
        
    line = line.strip()
    # split the line into words
    try:
    	id, labels= line.split('\t', 1)
    except:
	    continue
    count = count + 1
print count

19e37c7417f7fdb53f729478155e083ed39134d9
#!/usr/bin/python
import sys

# input comes from STDIN (standard input)
count =0 
for line in sys.stdin:
    # remove leading and trailing whitespace
        
    line = line.strip()
    # split the line into words
    try:
    	id, labels= line.split('\t', 1)
    except:
	    continue
    count = count + 1
print count
