Task: Program Execution
Input (English): 2639, m, 2397, t, q, 2473, i, 7615, c, 8179
Output (English): 23303