completed problem three