Task: Program Execution
Input (English): j, x, W, Z, 1961
Output (English): 10, 24, 23, 26, 1961