Task: Program Execution
Input (English): 1151, x, T, 7299, d, T
Output (English): x, T, d, T, 1151, 7299