Task: Program Execution
Input (English): Q, 8921, 7131, 9247, 3351, 4689, L, O, N, g, Q, 413
Output (English): 17, 8921, 7131, 9247, 3351, 4689, 12, 15, 14, 7, 17, 413