Complete #4
Solve 5 but it is slow :\