I got the correct output but didn't meet the #3 and #4 task requirements.