Task: Program Execution
Input (English): Q, j, 8303, 5041, 9603
Output (English): 17, 10, 8303, 5041, 9603