Task: Program Execution
Input (English): b, 5215, Q, g, f, j, 3435, g
Output (English): 8650