Rotate

https://code.google.com/codejam/contest/dashboard?c=544101