Task: Program Execution
Input (English): i, 5705, 7939, 849, D
Output (English): i, D