Task: Program Execution
Input (English): 5, 6, ['5421', 'O', 'r', 'K', '741', '4039', 'n', '4763', 'q']
Output (English): 4780