SP3110 PALNUM - Palindromic Number
Description
A postive integer A is called a "palindrome number" if the reverse of the decimal representaion is the same as the original one. Ex. 13231 is a palindrome number, but 13333 is not.
Given a number A(1
Input Format
The first Line contains the number of test cases T
Output Format
Output the number of ways.