#!/usr/bin/env python

import sys
import operator

current_word = None
word = None
five = 0
three = 0

for line in sys.stdin:

    line = line.strip()
    word, count = line.split('\t', 1)

    
    try:
        count = int(count)
    except ValueError:
        continue
    
    
    if len(word) == 3:
        three += 1
    if len(word) == 5:
        five += 1
    
        
print("Words with three letters %d" % (three))
print("Words with five letters %d" % (five))


d017552a582cfa6b7a24eae1bc9274e8801712fa
<mask token>

<mask token>
for line in sys.stdin:
    line = line.strip()
    word, count = line.split('\t', 1)
    try:
        count = int(count)
    except ValueError:
        continue
    if len(word) == 3:
        three += 1
    if len(word) == 5:
        five += 1
print('Words with three letters %d' % three)
print('Words with five letters %d' % five)

<mask token>
current_word = None
word = None
five = 0
three = 0
for line in sys.stdin:
    line = line.strip()
    word, count = line.split('\t', 1)
    try:
        count = int(count)
    except ValueError:
        continue
    if len(word) == 3:
        three += 1
    if len(word) == 5:
        five += 1
print('Words with three letters %d' % three)
print('Words with five letters %d' % five)

import sys
import operator
current_word = None
word = None
five = 0
three = 0
for line in sys.stdin:
    line = line.strip()
    word, count = line.split('\t', 1)
    try:
        count = int(count)
    except ValueError:
        continue
    if len(word) == 3:
        three += 1
    if len(word) == 5:
        five += 1
print('Words with three letters %d' % three)
print('Words with five letters %d' % five)

#!/usr/bin/env python

import sys
import operator

current_word = None
word = None
five = 0
three = 0

for line in sys.stdin:

    line = line.strip()
    word, count = line.split('\t', 1)

    
    try:
        count = int(count)
    except ValueError:
        continue
    
    
    if len(word) == 3:
        three += 1
    if len(word) == 5:
        five += 1
    
        
print("Words with three letters %d" % (three))
print("Words with five letters %d" % (five))

