Solve UVa 10004 - Bicoloring.