Task: Program Execution
Input (English): J, 1405, 2505, 8457, b, 1619, 9529, 4037, c
Output (English): 27552