Kattis ICPC World Finals 2015 Warmup 6A

Standings

First to solve Solved Attempted Pending judgement