Solve Uva 10450 - World Cup Noise.