Task: Program Execution
Input (English): 4, 5, ['P', '3075', 'w', '7873', '783']
Output (English): 8656