Algorithm Test1 PASS