Task: Program Execution
Input (English): 2, 4, ['4423', 'X', '4113', '9889', 'x', '9849', '7813', 'I', 'u', 'K', '5217', '2339', 'F', 'Q', 'd']
Output (English): X, 9849, K, Q