Skip to content
C

Palindrome Number

Easyjavapythonccppjavascript

Given a non-negative integer N, determine whether it reads the same from left to right and right to left.

Input Format

A single line containing the integer N.

Output Format

Print 1 if N is a palindrome, otherwise print 0.

Input (stdin)

Output

Run your code to see output here...