import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { String s = sc.next(); int a = 0; int b = 0; boolean F = true; for (int i=0; i