Task: Program Execution
Input (English): 5, 8, ['X', 'X', 'm', 'J', '3411', 'l', '2953', '1445', '4065', '9363', '9203', '5849', '1935', 'P', 'N', 'S']
Output (English): 3411, l, 2953, 1445