Task: Program Execution
Input (English): e, 1497, D, 2503, R
Output (English): e, D, R