Task: Program Execution
Input (English): 1, 1, ['5023', 'S']
Output (English): 5023