The Premium Pen Factory tests one pen in each batch of 100 pens. The ink-filling machine is bipolar, so pens can write continuously for an exponential duration of mean either $1 / 2$ hour or 5 hours. The machine is in the short-life production mode $10 \%$ of the time. A batch of short-life pens sold as long-life pens results in a loss of $$\$ 5$$, while a batch of long-life pens mistakenly sold as short-life results in a loss of $$\$ 3$$. Find the Bayes decision rule to decide whether a batch is long-life or short-life based on the measured lifetime of the test pen.