Task: Program Execution
Input (English): 1063, f, m, i, x, i, d
Output (English): d, f, i, m, x