Task: Program Execution
Input (English): 511, J, c, O, Z, 3945, 8117, 4953, g, 2209, R
Output (English): 19735