Task: Program Execution
Input (English): 2, 7, ['8499', '6367', 'P', 'Q', '6341', 'f', '8323', 'a', 'T', 'e', 'u', '6589', 'i', 'w', '3985', 'X', '9159', '7149']
Output (English): 6367, T, X