Task: Program Execution
Input (English): 9, 10, ['1365', '1041', '5903', '1443', 'V', '5119', 'Q', 'M', '8041', 'p', 'p']
Output (English): p, 8041