C. Milk Cow
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Bessie the cow has been kidnapped from Farmer John's farm by the Satellite Girl. She is currently being pulled up to the satellite by a tractor beam which has flipped her upside down. Can you create an artist's depiction of what Bessie currently looks like?

Note that an upside down "^" looks like a "v", an upside down "/" looks like a "\", an upside down "\" looks like a "/", and all other characters are left unchanged. Note that Bessie is entirely upside down, so not only must the characters be flipped as mentioned, but the lines should be output in reverse order as well.

Input

The sample input will be the reference picture of Bessie as seen above (right-side up).

Output

The output should consist of your artist's depiction of Bessie upside down based on the reference image above (and here for your convenience).