Task: Program Execution
Input (English): J, f, 4201, 217, 5431, 5111, 6595, u, f, D, 4289, O, p, 7487, 4259, h, 197
Output (English): 37787