Problem 3 solution chosen