Task: Program Execution
Input (English): 8243, 5413, Q, 7011, Q, 9525, 4333, y, 8591, 3691, L, 1723, x, O, 6875, X, K, 7925, n
Output (English): 1, 2, 4, 6, 7, 9, 10, 12, 15, 18