Arranging apples

Sign in to test your solution.