Number that can be read in both direction, which means that the sequence of digits is the same when it is read from right to left or from left to right.

In everyday language, there are palindromic words like NON, ANNA, LAVAL and KAYAK.

### Examples

The numbers 66, 161, 1441 and 580 085 are palindromic numbers.

With the digits 2 and 3, I can write 6 palindromic numbers with 2 or 3 digits: 22, 33, 222, 333, 232 and 323.