Solve srm601 250 WinterAndMandarins.