Task: Program Execution
Input (English): 1, 1, ['5807', 'p', 'r']
Output (English): 5807