l = input(‘Enter a list of numbers : ‘).split()

for num in l:

for i in range(len(num)//2):

if num[i] != num[-(i+1)]:

break

else:

print(num, ‘is a palindrome’)

for num in l:

for i in range(len(num)//2):

if num[i] != num[-(i+1)]:

break

else:

print(num, ‘is a palindrome’)