import java.util.Scanner; class Test { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); String sen = in.next(); int n = sen.length(); char[] senArr = sen.toCharArray(); for(int i=0; i