Task: Program Execution
Input (English): F, 7219, d, I, X
Output (English): 1, 3, 4, 5