Task: Program Execution
Input (English): Q, K, 475, Z, S, 4369
Output (English): 17, 11, 475, 26, 19, 4369