Falling apples

Sign in to test your solution.