Task: Program Execution
Input (English): j, R, G, 9971, 5013, V, 5283, 4091, 2221, 2491, 6981, 9009, z, F, O, 7261, y, n, M, j, M
Output (English): 1, 2, 3, 6, 13, 14, 15, 17, 18, 19, 20, 21