Johnny, Roy and Steffy are studying for the final exams. While they are taking a break, they have the following dialogue:
Your task is to write a program that indicates if several given natural numbers are or are not strobogrammatic numbers, and counts how many of the strobogrammatic numbers are odd numbers.
Your program must include and use the function
that indicates if a natural number |n| is or is not an strobogrammatic number.
Input
The input is a sequence of natural numbers.
Output
For each natural number of the input, print if it is an strobogrammatic number or it is not. Afterwards, print an empty line and the number of odd strobogrammatic numbers read. Follow the format of the instance.
Input
1 2 8 11 101 111 1110 0 38 18 1881 44 69 96 99 123456789 969689696
Output
1 is strobogrammatic 2 is not strobogrammatic 8 is strobogrammatic 11 is strobogrammatic 101 is strobogrammatic 111 is strobogrammatic 1110 is not strobogrammatic 0 is strobogrammatic 38 is not strobogrammatic 18 is not strobogrammatic 1881 is strobogrammatic 44 is not strobogrammatic 69 is strobogrammatic 96 is strobogrammatic 99 is not strobogrammatic 123456789 is not strobogrammatic 969689696 is strobogrammatic odd strobogrammatic: 6