Task: Program Execution
Input (English): w, t, 4755, 185, q, 6831, H, 1399, U, B, 7099, R, D
Output (English): 1, 2, 5, 7, 9, 10, 12, 13