import sys for line in sys.stdin: for token in [p.lower() for p in line.strip().split()]: print '%s\t1' % token