014 - naive solution, too slow