Solve second test
Solve sample