Task: Program Execution
Input (English): 1291, j, 1813, A, C, R, c, R, A, k, I, 3789, f, n, 153, f, x
Output (English): 1291, 1813, 3789, 153