Solution 3.