Task: Program Execution
Input (English): x, 2149, n, 5821, 8745, 4333, g, P, Q, 7235, i, R, h
Output (English): 28283