Task: Program Execution
Input (English): 2355, F, c, 3411, m, J, W, 5091
Output (English): 10857