Mixed tests 9

Try to find the best solution.