Task: Program Execution
Input (English): G, 9657, Y, 8455, 9945, 1081, Y, 9565, v, t, 3537, 1237, 4897
Output (English): 48374