Redirect Notice
 The previous page is sending you to https://uva.onlinejudge.org/external/3/306.html.

 If you do not want to visit that page, you can return to the previous page.