Linux words by croyal

while 1:
 w=raw_input().lower()
 print len(w)<5 and -1 or len(w)-(w[0]=='l')-(w[1]=='i')-w[2:-2].count('n')-(w[-2]=='u')-(w[-1]=='x')

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page