let rec read g =
  try let sum = Scanf.scanf "%d %d\n" (fun x y-> x+y) in
      string_of_int sum
      |> String.length
      |> print_int;print_newline();
      read g
  with
    End_of_file -> ()
    in read ();;