Task: Program Execution
Input (English): 5973, F, W, 4507, 5347, 9949, y, 185, w, 4713, 8881, E, 1151, y, f, X
Output (English): 40706