Brute Force Approach