Task: Program Execution
Input (English): 343, 1507, 8399, 9875, m, V, U, w, 6229, 7045, E, D, O, q, i, 4851, X
Output (English): 1, 2, 3, 4, 9, 10, 16