Task: Program Execution
Input (English): 137, w, h
Output (English): 1, 3, 7