Task: Program Execution
Input (English): 4, 4, ['E', '361', '6841', '4885', 'j']
Output (English): 4885