import java.util.*;public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}} import java.util.*; util.* java public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}} Main public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());} main {for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());} for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length()); Scanner s=new Scanner(System.in); Scanner s=new Scanner(System.in); s new Scanner(System.in) s.hasNext() s.hasNext s System.out.println((""+(s.nextInt()+s.nextInt())).length()); System.out.println((""+(s.nextInt()+s.nextInt())).length()) System.out.println System.out System System.out (""+(s.nextInt()+s.nextInt())).length() (""+(s.nextInt()+s.nextInt())).length (""+(s.nextInt()+s.nextInt())) "" (s.nextInt()+s.nextInt()) s.nextInt() s.nextInt s s.nextInt() s.nextInt s String[]a a public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}} public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}} Main
import java.util.*;public class Main{public static void main(String[]a){for(Scanner s=new Scanner(System.in);s.hasNext();)System.out.println((""+(s.nextInt()+s.nextInt())).length());}}