Solved testcase for 1