import java.util.Scanner; public class Main { public static void main(String[] a) { Scanner s=new Scanner(System.in); char[] C=s.next().toCharArray(); for(int i=0;i