Task: Program Execution
Input (English): 9325, Q, z, j, R
Output (English): 9325, 17, 26, 10, 18