second solution

2nd