import sys
def is_number(s):
try:
float(s)
return True
except ValueError:
pass
for linha in sys.stdin:
linha = linha.rstrip("\n")
if not is_number(linha):
print linha
aW1wb3J0IHN5cwoKZGVmIGlzX251bWJlcihzKToKICAgIHRyeToKICAgICAgICBmbG9hdChzKQogICAgICAgIHJldHVybiBUcnVlCiAgICBleGNlcHQgVmFsdWVFcnJvcjoKICAgICAgICBwYXNzCgpmb3IgbGluaGEgaW4gc3lzLnN0ZGluOgogICAgbGluaGEgPSBsaW5oYS5yc3RyaXAoIlxuIikKICAgIGlmIG5vdCBpc19udW1iZXIobGluaGEpOgogICAgICAgIHByaW50IGxpbmhh