Kattis ICPC World Finals 2015 Warmup 5