Task: Program Execution
Input (English): g, 9985, 1791, o, Q, 7411, 9259, 1961, 5147, 59, 7011
Output (English): 42624