Algospot - Dobra(http://algospot.com/judge/problem/read/DOBRA)