problem 9 brute force only