Task: Program Execution
Input (English): d, u, m, 5821, 9987, H, 1781, x, 5883, n, z, 7263, 4355
Output (English): 35090