Task: Program Execution
Input (English): 3, 10, ['9829', '3477', '4077', '2369', 'o', '5215', 'k', '9747', '4275', '5209', 'F', '4791', '9633', '4323', 'D', '3429', '2395', 'J', '2775', '7095', 'Q', 'S', '2173', 'p', 'Q', 'V', '3993', '8789', 'A']
Output (English): 4077, 9633, 2173