import java.util.*;class Main{public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}} import java.util.*; util.* java class Main{public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}} Main public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));} main {for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));} for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt())); 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(1+(int)Math.log10(S.nextInt()+S.nextInt())); System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt())) System.out.println System.out System System.out 1+(int)Math.log10(S.nextInt()+S.nextInt()) 1 (int)Math.log10(S.nextInt()+S.nextInt()) Math.log10 Math S.nextInt()+S.nextInt() S.nextInt() S.nextInt S S.nextInt() S.nextInt S String[]g g
import java.util.*;class Main{public static void main(String[]g){for(Scanner S=new Scanner(System.in);S.hasNext();)System.out.println(1+(int)Math.log10(S.nextInt()+S.nextInt()));}}
