Task: Program Execution
Input (English): 2, 4, ['P', '1717', 'S', 'N', '543', 'C']
Output (English): 1717