Task: Program Execution
Input (English): 4811, Q, 2289, N, I, 7681, z, 8179, 3359, 5299, R, z, 8697, 5781, 4803, 2715, 6511, 1371
Output (English): 61496