Task: Program Execution
Input (English): 9501, 6193, 4511, g, G, V, 3987, m, 4507, V, F, 5725, U
Output (English): 34424