Task: Program Execution
Input (English): 4607, T, a, 6077, c, 4761
Output (English): 15445