Problem 50 - brute