Worked on multiple test case intpu