Task: Program Execution
Input (English): X, r, 8103, h, 7583
Output (English): 24, 18, 8103, 8, 7583