@@ -0,0 +1,846 @@
+package Warmup;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0A%0Apublic class _33funnyString %7B%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A%09%09BufferedReader scanner=new BufferedReader(new InputStreamReader(System.in));%0A%09%09int noOfTestCases=Integer.parseInt(scanner.readLine());%0A%09%09for (int i = 0; i %3C noOfTestCases; i++) %7B%0A%09%09%09String input=scanner.readLine();%0A%09%09%09String reverse=new StringBuilder(input).reverse().toString();%0A%09%09%09Boolean flag=false;%0A%09%09%09for (int j = 1; j %3C input.length(); j++) %7B%0A%09%09%09%09int inputDiff=(int)input.charAt(j)-(int)input.charAt(j-1);%0A%09%09%09%09int reverseDiff=(int)reverse.charAt(j)-(int)reverse.charAt(j-1);%0A%09%09%09%09if(Math.abs(inputDiff)!=Math.abs(reverseDiff))%7B%0A%09%09%09%09%09System.out.println(%22Not Funny%22);%0A%09%09%09%09%09flag=true;%0A%09%09%09%09%09break;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09if(flag==false)%0A%09%09%09%09System.out.println(%22Funny%22);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

33.funny string accepted