Task: Program Execution
Input (English): 5, ['3513', 'X', 'k', '2315', 'L', '1235', '7011', '4943', 'W', '3109', '7433', 'K', 'm', 'C', 'p']
Output (English): 3513, 1235, 7433