import java.io.IOException; import java.util.NoSuchElementException; public class Main{ public static void main(String[] args){ FastScanner sc = new FastScanner(); String S = sc.next(); int L = S.length(); for(int i=0;i