Task: Program Execution
Input (English): 5649, T, D, V, B, 3103, 1653, 1001
Output (English): T, D, V, B