Modified problem 3 just to show the actual answer instead of all factors