Sample Test A: problem 04