Task: Program Execution
Input (English): d, G, 5047, X, Z, 2085, l, u
Output (English): 4, 7, 5047, 24, 26, 2085, 12, 21