Task: Program Execution
Input (English): 5, 7, ['4573', 'J', 't', 'F', 'Q', 'L', 'J', '7519', '6353', 'x', '7253', '3187', '401']
Output (English): JLQ