Problem C
Textabylting
Languages
en
is
The newest revolution in the computer industry is that now text can be read on its side! The use of this feature is almost unlimited. For example you can now read the text on your computer screen while laying on your pillow in your bed. Fantastic!
Unfortunately implementing this feature has to be implemented in each program and your job is to implement this revolutionary feature.
Input
On the first line there is a single integer $N$, denoting the number of lines in the text that should be transposed. Then there are $N$ lines of text to rotate. The text contains only English letters, numbers and spaces.
Output
The transposed text.
Scoring
The solution will be tested on differently hard input data and the data is divided into groups as shown in the table below. The solution will then be scored according to how many groups are solved.
|
Group |
Points |
Constraints |
|
1 |
30 |
$N=1$ |
|
2 |
30 |
$1\leq N \leq 100$, all lines are the same length |
|
3 |
40 |
$1\leq N \leq 100$ |
| Sample Input 1 | Sample Output 1 |
|---|---|
1 This is some example text |
T h i s i s s o m e e x a m p l e t e x t |
| Sample Input 2 | Sample Output 2 |
|---|---|
6 This is some example text and here is even more text wow such text many text much text alright this is enough |
Tawmma hnoaul idwncr s yhi hs g ieutth srceet ehxx s ttt oit h mse i e x s et ev i xe s an m e pm n lo o er u e g t h et xe tx t |
