Task: Program Execution
Input (English): i, 8501, X, R, v, n, t, 4489, i, i, w, 2611, 6395, z, 6747, 5397, 1797, 3351
Output (English): 39288