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(); int ans = 0; for(int i=0;i