let () = Scanf.scanf "%d %d\n" @@ fun n h -> let arr = Array.init n @@ fun _ -> Scanf.scanf "%d " @@ fun d -> d in Array.iter (fun x -> print_string ((string_of_int (x + h)) ^ " ")) arr; print_endline ("")