Task: Program Execution
Input (English): p, m, 1995, X, 1345, R, 7963, 8059, l, 9689, X, 2773, 3867, d, 8755, 573, E
Output (English): 1995, 1345, 7963, 8059, 9689, 2773, 3867, 8755, 573