Problem 1088: Skiing. Solved on 05/24/2014.