Task: Program Execution
Input (English): 4, 4, ['R', 'o', 'u', '8385', '729', 'H']
Output (English): 8385