Task: Program Execution
Input (English): 3741, W, R, N, e, F, G, 8867, R, J, 5561, 9727, 7863
Output (English): 35759