Complete Qualification Round Africa 2010
Problem B. Reverse Words

https://code.google.com/codejam/contest/351101/dashboard#s=p1