The Reverse Funny: Ascii
The Reverse Funny: Ascii
String
Suppose you have a String, , of length that is indexed from to . You also have some String, ,
that is the reverse of String . is funny if the condition is true for
every character from to .
Note: For some String , denotes the ASCII value of the -indexed character in . The absolute
value of an integer, , is written as .
Input Format
Constraints
Output Format
Sample Input
2
acxz
bcxz
Sample Output
Funny
Not Funny
Explanation
Test Case 0:
As each comparison is equal, we print .
Test Case 1:
, but
At this point, we stop evaluating (as ) and print .