UVa 490 - Rotating Sentences

490 - Rotating Sentences

 * http://acm.uva.es/p/v4/490.html

Summary
Straightforward Ad Hoc problem.

Explanation
Use a two-dimensional array and print it out the other way.

Input
Rene Decartes once said, "I think, therefore I am."

Output
"R Ie n te h iD ne kc ,a r tt he es r eo fn oc re e s Ia i ad m, . "