Task: Program Execution
Input (English): p, 5771, 2847, 439, 8875, r, 3757, a, c
Output (English): 5