public class HelloWorld{
public static void main(String []args){ Scanner in = new Scanner(System.in); String line = in.nextLine(); int n = in.nextInt(); String[] tokens = line.split(""); StringBuffer l = new StringBuffer(); int length = line.length / n; for(int i = 0; i < n;i++){ for } } public static boolean isPalindrome(String str) { return str.equals(new StringBuilder(str).reverse().toString()); }
}