Task: Program Execution
Input (English): 5623, R, n, 2175, Z, 7685, 2701, 7047, D, 3957, 6947, J, 895, f, x, 1121, n, i, N, 6995, w
Output (English): 2, 3, 5, 9, 12, 14, 15, 17, 18, 19, 21