Task: Program Execution
Input (English): X, Q, l, O, 2607, O, 271, z, 4147, 5927, x, 4511
Output (English): 17463