I love programming so much
programming
import sys
s=sys.stdin.read()
if s is None: sys.exit(0)
if s.endswith('\
'):
s=s[:-1]
words=[w for w in s.split(' ') if w!='']
best=''
for w in words:
if len(w)>len(best):
best=w
sys.stdout.write(best)
import sys
s=sys.stdin.read()
if s is None: sys.exit(0)
if s.endswith('\
'):
s=s[:-1]
words=[w for w in s.split(' ') if w!='']
best=''
for w in words:
if len(w)>len(best):
best=w
sys.stdout.write(best)