new solution to 1005, not accepted