Binary representation of a number is palindrome or not? Write a full program  to find whether the binary representation of a number is palindrome or not?

Sample Input
5

Sample Output
YES


Print YES if binary representation is palindrome and NO otherwise.
Python - 46 chars

n=bin(input())[2:]
print'YNEOS'[n!=n[::-1]::2]