#!/usr/bin/env python
# coding: utf-8

# In[ ]:


num1 = '12321'
num1 = num.casefold()
rev_str = reversed(num1
                  if list(num1) == list(rev_str):
print("PALLINDROME")
else:
    print("NOT PALLINDROME")

