Sample Test A: problem 08