Task: Program Execution
Input (English): 7431, X, i, r, 9387
Output (English): 1, 5