| Character | Reverse | Character | Reverse | Character | Reverse |
|---|
| A | A | M | M | Y | Y |
| B | N | Z | 5 | ||
| C | O | O | 1 | 1 | |
| D | P | 2 | S | ||
| E | 3 | Q | 3 | E | |
| F | R | 4 | |||
| G | S | 2 | 5 | Z | |
| H | H | T | T | 6 | |
| I | I | U | U | 7 | |
| J | L | V | V | 8 | 8 |
| K | W | W | 9 | ||
| L | J | X | X |
Note that ‘0’ (zero) and ‘O’ (the letter) are considered the same character and therefore ONLY the letter ‘O’ is a valid character.
Input consists of strings (one per line) each of which will consist of one to twenty valid characters. There will be no invalid characters in any of the strings. Your program should read to the end of file.
For each input string, you should print the string starting in column 1 immediately followed by exactly one of the following strings.
| STRING | CRITERIA |
|---|---|
‘ -- is not a palindrome.’ | if the string is not a palindrome and is not a mirrored string |
‘ -- is a regular palindrome.’ | if the string is a palindrome and is not a mirrored string |
‘ -- is a mirrored string.’ | if the string is not a palindrome and is a mirrored string |
‘ -- is a mirrored palindrome.’ | if the string is a palindrome and is a mirrored string |
Note that the output line is to include the ‘-’s and spacing exactly as shown in the table above and demonstrated in the Sample Output below.
In addition, after each output line, you must print an empty line.