AT_past20_d 回転した v

Description

There is a grid with $ N $ horizontal rows and $ N $ vertical columns. Each cell in the grid has the character `v` written in various orientations. The orientation of `v` written on the cell in the $ i $ -th row from the top and $ j $ -th column from the left is described by $ c_{i, j} $ : - if $ c_{i,j} = $ `v`, an ordinary `v` is written; - if $ c_{i,j} = $ `^`, an upside-down `v` is written; - if $ c_{i,j} = $ ``, a `v` rotated $ 90 $ degrees counterclockwise is written. Now you will rotate the grid $ 90 $ degrees clockwise. Print the orientations of the characters in the resulting grid.

Input Format

The input is given from Standard Input in the following format: > $ N $ $ c_{1,1}c_{1,2}\dots c_{1,N} $ $ c_{2,1}c_{2,2}\dots c_{2,N} $ $ \vdots $ $ c_{N,1}c_{N,2}\dots c_{N,N} $

Output Format

Print the orientations of the characters in the resulting grid in the following format: > $ a_{1,1}a_{1,2}\dots a_{1,N} $ $ a_{2,1}a_{2,2}\dots a_{2,N} $ $ \vdots $ $ a_{N,1}a_{N,2}\dots a_{N,N} $ Here, $ a_{i, j} $ denotes the orientation of `v` written on the cell in the $ i $ -th row from the top and $ j $ -th column from the left: - $ a_{i,j} = $ `v` means an ordinary `v` is written; - $ a_{i,j} = $ `^` means an upside-down `v` is written; - $ a_{i,j} = $ `` means a `v` rotated $ 90 $ degrees counterclockwise is written.

Explanation/Hint

### Sample Explanation 1 Rotating `v` $ 90 $ degrees clockwise makes it `