Task: Program Execution
Input (English): 3215, T, 605, 3641, c, 7561, S, 8169, 9723, 2513, V, 1477, 1695, 4055, W, V, 6779
Output (English): 49433