PA3: Brute force