Task: Program Execution
Input (English): i, N, 5777, G, 4975, 8091, j, 9453, L, 4689, D, S, W, 6751, 1523, 4599, 9963
Output (English): 1, 2, 4, 7, 9, 11, 12, 13