import java.util.*; public class main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); char[] chars = s.toCharArray(); int charlonger = s.length(); int i=0; int flag =0; int flag2=0; int a=0,b=-1,c=0; for(;i