let () = print_endline @@ Scanf.scanf "%d\n" @@ function
  | 1 -> Scanf.scanf "%d\n" @@ fun a ->
      if a mod 2 = 0 then "second" else "first"
  | n ->
      let as_ = Array.init n @@ fun _ -> Scanf.scanf "%d\n" @@ fun a -> a mod 2 in
      if
        Array.fold_left ( lxor ) 0 as_ = 0
      then "second"
      else "first"
