#1131. 图像倒转

图像倒转

No submission language available for this problem.

Background

Special for beginners, ^_^

Description

将一个二维的图像旋转 180° 后输出。

Format

Input

输入两个数一个 n,一个 m

n 代表数组有 n 行,m 代表数组有 m 列。

Output

将图像旋转 180° 输出

Samples

16 15
-------*-------
------*-*------
-----*---*-----
----*-----*----
----*-----*----
----*-----*----
---**-----**---
--*-*-----*-*--
--*-*-----*-*--
--***-----***--
----*-----*----
----*******----
-----*-*-*-----
----*--*--*----
---*---*---*---
--*----*----*--
--*----*----*--
---*---*---*---
----*--*--*----
-----*-*-*-----
----*******----
----*-----*----
--***-----***--
--*-*-----*-*--
--*-*-----*-*--
---**-----**---
----*-----*----
----*-----*----
----*-----*----
-----*---*-----
------*-*------
-------*-------
4 4
--**
----
**--
-**-
-**-
--**
----
**--

Limitation

1 ≤ n,m ≤ 100

1s, 1024KiB for each test case.