Task: Program Execution
Input (English): d, G, 4341, 8715, 3345, A, Y, D, 7741, 6453, 9219, 451, 2265, n, 8835, 8735, g, K
Output (English): 1, 2, 6, 7, 8, 14, 17, 18