Task: Program Execution
Input (English): c, 3519, g, 427, l, g, X, B, d, K, 4093, 2011, 5447
Output (English): 15497