Task: Program Execution
Input (English): x, 3587, 8017, G, b, t, 7791, 533, 4599, 9581, Y, K, 3263
Output (English): 37371