
Gomez was exploring ancient ruins when he found a stone tablet carved with the writing of an ancient people. He knows nothing about the ancient script, so he cannot read the tablet, and he is looking for someone who can read it for him. If you know the ancient writing well, help poor Gomez.
The first line has two natural numbers R and C. (1≤R,C≤50)
The next 6R−1 lines hold the contents of the tablet. Each line has 6C−1 characters, and every character is # or .. Read the examples to work out the exact layout.
Print the result of reading the tablet. Every hint about the output format is already given.