Task: Program Execution
Input (English): y, 2585, W, G, 4653, 887, 4931, 8857, 363, F, w, W, G, 3631, q, J, 5329
Output (English): 31236