A magazine costs half as much as a book. The book costs $4. A pen costs $1 less than a magazine. How much is the pen?
The cost of a magazine is $4/2 = $
<gadget id="calculator">4/2</gadget>
<output>2</output>
2.
The cost of a pen is $2 - $1 = $
<gadget id="calculator">2-1</gadget>
<output>1</output>
1.

<result>1</result>