Task: Program Execution
Input (English): r, l, w, j, 211, l, k, b, g, r, 327, x, 161
Output (English): 1, 2, 3, 6, 7