Task: Program Execution
Input (English): 7039, D, m, p, 9105, 5601, 3053, 8377, G, I, G, F, k, 1057, 2783, 7581, 4511
Output (English): 1, 5, 6, 7, 8, 14, 15, 16, 17