brute force, time limit exceeded for "Judge Large"