import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); String s = koko.next(); int n = s.length(); String[] siki = new String[n]; int count = 0; siki[count++]=s; for(int i=1; i