Task: Program Execution
Input (English): had, D, x, a
Output (English): hadDxa