Task: Program Execution
Input (English): 1117, O, 8545, Z, X, 7971, q, l, B, V
Output (English): 1117, 15, 8545, 26, 24, 7971, 17, 12, 2, 22