Properly optimized problem 10.