let () =
	let h, w = Scanf.scanf "%d %d\n" (fun x y -> (x, y)) in
	Printf.printf "%s\n" (String.make (w + 2) '#');
	for i = 1 to h do
		Printf.printf "#%s#\n" (Scanf.scanf "%s\n" (fun x -> x))
	done;
	Printf.printf "%s\n" (String.make (w + 2) '#')
