Task: Program Execution
Input (English): G, l, 2141, 2823, d, 9095, 1363, p, K, 5607, 4321, 8607
Output (English): 33957