Task: Program Execution
Input (English): X, U, r, D
Output (English): 24, 21, 18, 4