Solve exercise 02.