Untitled

 avatar
MineCrafter
plain_text
3 years ago
311 B
8
Indexable
#Баринин Тимофей Михайлович
chislo_n = int(input())
numb = str(chislo_n)
if chislo_n > 999 and chislo_n <10000:
    print('YES' if (numb[0] == numb[3] and numb[1] == numb[2]) else 'NO')
else :
    print('Введите число в промежутке от 1000 до 9999')
    
Editor is loading...