Symmetric Number

Problem Statement

Determine if a four-digit number is symmetric (i.e., reads the same forward and backward). Pad with leading zeroes if necessary. Output 1 if symmetric, otherwise any other number.

Input

A four-digit number.

Output

Print 1 if symmetric, otherwise another integer.

Example

[{'input': '2002', 'output': '1'}, {'input': '2008', 'output': '37'}]