Task: Program Execution
Input (English): 5, 15, ['6023', 'R', 'Q', '1185', '8701', '3041', '3603', '9939', '4715', '7187', 'Q', 'e', '349', 'C', '7849']
Output (English): 8701, 3041, 3603, 9939, 4715, 7187, Q, e, 349, C, 7849