Task: Program Execution
Input (English): 4767, R, r, j, 7245, 7501, L, B, z, W, T, 5245, c, q, Y, s, 6013, O, 5085
Output (English): 2, 3, 4, 7, 8, 9, 10, 11, 13, 14, 15, 16, 18