Task: Program Execution
Input (English): 8395, 6899, 7799, 5409, 5655, 9739, X, O, a, g, 9127, 8539
Output (English): 1, 2, 3, 4, 5, 6, 11, 12