Task: Program Execution
Input (English): G, D, 1991, 5341, L, n, o, D, 8711, d, 5979, 7997
Output (English): 1, 2, 5, 6, 7, 8, 10