Task: Program Execution
Input (English): p, Q, a, 903, 2877, u, 289, 8885
Output (English): 12954