Task: Program Execution
Input (English): c, S, 3603, 8069, E, 865, d, 4263, 1577, O, 4395, a, 1795, 1945, 8393, 7045, 3293, 3711
Output (English): 48954