import java.util.*; import static java.lang.Math.*; public class Main { boolean isPalindrome(String s) { int n = s.length(); for(int i=0; i