Task: Program Execution
Input (English): 27, d, w
Output (English): 2, 7