let () =
  let h, w = Scanf.scanf "%d %d" (fun h w -> h, w) in
  let a = Array.init h (fun _ -> Scanf.scanf " %s" (fun s -> s)) in
  String.init (w+2) (fun _ -> '#') |> print_endline;
  Array.iter (Printf.printf "#%s#\n") a;
  String.init (w+2) (fun _ -> '#') |> print_endline
