Solved #3.