Task: Program Execution
Input (English): 2749, 9709, a, h, 7609, 8173, 9533, 8079, 6523, 3831, 1087, 4087, X
Output (English): 10