Solve UVa 11631 - Dark roads.