Task: Program Execution
Input (English): 5, 8, ['P', '4469', 'o', '1853', '3991', '4119', '8857', '7231', '195', 'P']
Output (English): 7231885741193991