Task: Program Execution
Input (English): 1, 1, ['g', 'P', '3795', '4161']
Output (English): g, P, 3795, 4161