#C12100. Palindrome Number Checker

    ID: 41491 Type: Default 1000ms 256MiB

Palindrome Number Checker

Palindrome Number Checker

You are given a non-negative integer n. Your task is to determine whether this number is a palindrome. A palindrome is a number that reads the same forwards and backwards. For instance, \(12321\) is a palindrome, while \(123\) is not. Note: You are not allowed to convert the number into a string; you must determine the result using arithmetic operations only.

Input Format: A single non-negative integer provided via standard input.

Output Format: Output True if the given number is a palindrome, otherwise output False.

inputFormat

The input consists of a single non-negative integer \(n\) provided from stdin.

outputFormat

Print True if \(n\) is a palindrome, else print False. The output should be written to stdout.

## sample
12321
True