Task: Program Execution
Input (English): 657, 5621, 1719, D, 2185, 2841, 9945, 8687
Output (English): D