Skip to content
CampusEduX

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.

Related Problems

  • Check Prime Number
    Easy · java, python, c, cpp, javascript
    Solve Problem
  • Greatest Common Divisor
    Easy · java, python, c, cpp, javascript
    Solve Problem
  • Least Common Multiple
    Easy · java, python, c, cpp, javascript
    Solve Problem

Input (stdin)

Output

Run your code to see output here...