Solve #11 with brute force