Task: Program Execution
Input (English): 1, 3, ['C', 'p', 'G', '5877', '139']
Output (English): G, p, C