#21 test case and solve