Task: Program Execution
Input (English): 3, 9, ['3805', '2483', '1305', '6307', '4141', 'S', 'X', 'd', 'K', '927', '9163', '8785', '3633', '8541', '9839', 'y', 'X', '1319']
Output (English): 1305, 8785