Task: Program Execution
Input (English): 8293, 5941, 1781, T, 9993, 687, D
Output (English): T, D