Task: Program Execution
Input (English): 2, 3, ['O', '371', '813', '8939', 'o']
Output (English): 371813