<s> """<STR_LIT>""" <EOL> import re <EOL> import sys <EOL> word_pattern = re . compile ( '<STR_LIT>' ) <EOL> for line in sys . stdin : <EOL> for match in word_pattern . finditer ( line . lower ( ) ) : <EOL> word = match . group ( ) <EOL> print '<STR_LIT>' % ( len ( word ) , word , <NUM_LIT:1> ) </s>
