Task: Program Execution
Input (English): 6705, J, 3015, 9361, 1609, W, 5061, 9973, v, f, o
Output (English): 35724