Test Case working for Problem 71