Task: Program Execution
Input (English): 5435, 1605, 7819, U, 35, g, 4799, g, r, h, a, 9691, 1277
Output (English): 30661