let () = Scanf.scanf "%d %s" @@ fun n s ->
  let change char =
    let code = Char.code char + n in
    let new_code = if code >= 91 then code - 26 else code in
    Char.chr new_code in
  Printf.printf "%s\n" @@ String.map change s