protasi='ΝΙΨΟΝ ΑΝΟΜΗΜΑΤΑ ΜΗ ΜΟΝΑΝ ΟΨΙΝ'
protasi_no_space=''
for kathe_gramma in protasi:
if kathe_gramma!=' ':
protasi_no_space+=kathe_gramma
x=''
for kathe_gramma in protasi_no_space:
x=kathe_gramma+x
if x==protasi_no_space:
print 'καρκινική επιγραφή'
else:
print 'δεν είναι καρκινική επιγραφή'