Task: Program Execution
Input (English): 1, 4, ['N', 'P', '5367', '7851', 'E']
Output (English): 13218