Problem A
Mirror Images
Atrebla is developing a new smartphone camera app that she believe will be the next big hit on the app store. Camera apps usually display the image mirrored left-to-right on the screen, so that what you see on the screen matches the movement of your face. To help her camera app stand out from the rest, Atrebla will be adding a unique effect that mirrors an image both left-to-right and top-to-bottom. Help her implement this feature.
Input
The first line contains a single integer
Output
For each test case, output a line containing “Test
Sample Input 1 | Sample Output 1 |
---|---|
2 2 2 .* .. 4 4 ***. **.. .... .... |
Test 1 .. *. Test 2 .... .... ..** .*** |