← run

gsm8k-0017

1.000
1/1 tests· math
Challenge · difficulty 2/5
# GSM8K Problem 18

Jill gets paid $20 per hour to teach and $30 to be a cheerleading coach. If she works 50 weeks a year, 35 hours a week as a teacher and 15 hours a week as a coach, what's her annual salary?

Reason step by step, then give ONLY the final answer on the last line as \boxed{ANSWER}.

<!-- imported from openai/gsm8k (test) -->
Proposed solution
The user wants me to solve a word problem about calculating an annual salary.

**1. Understand the goal:**
Calculate Jill's total annual salary based on her hourly rates and hours worked per week.

**2. Extract the given information:**
*   **Hourly rate for teaching:** $20/hour
*   **Hourly rate for cheerleading coaching:** $30/hour
*   **Number of weeks worked per year:** 50 weeks
*   **Hours worked per week as a teacher:** 35 hours
*   **Hours worked per week as a coach:** 15 hours

**3. Formulate a plan:**
*   Calculate the weekly earnings from teaching.
*   Calculate the weekly earnings from cheerleading coaching.
*   Sum the weekly earnings to get the total weekly salary.
*   Multiply the total weekly salary by the number of weeks worked in a year to get the annual salary.

**4. Execute the plan:**

*   **Step 1: Weekly earnings from teaching**
    *   Rate: $20/hour
    *   Hours: 35 hours/week
    *   Calculation: $20 \times 35$
    *   $20 \times 35 = 700$
    *   Weekly teaching earnings = $700

*   **Step 2: Weekly earnings from cheerleading coaching**
    *   Rate: $30/hour
    *   Hours: 15 hours/week
    *   Calculation: $30 \times 15$
    *   $30 \times 15 = 450$
    *   Weekly coaching earnings = $450

*   **Step 3: Total weekly earnings**
    *   $700 + 450 = 1150$
    *   Total weekly salary = $1150

*   **Step 4: Annual salary**
    *   Weekly salary: $1150
    *   Weeks per year: 50
    *   Calculation: $1150 \times 50$
    *   $1150 \times 5 = 5750$
    *   $1150 \times 50 = 57500$
    *   Annual salary = $57,500

**5. Verification:**
*   Teaching: 35 hours * $20 = $700/week.
*   Coaching: 15 hours * $30 = $450/week.
*   Total/week: $700 + $450 = $1150.
*   Total/year: $1150 * 50 weeks = $57,500.

**6. Formatting:**
The user requested the final answer in a specific format: `\boxed{ANSWER}`.

**7. Final Answer Construction:**
The calculated value is 57500.

Let's double check the arithmetic.
$20 \times 35 = 2 \times 35 \times 10 = 70 \times 10 = 700$. Correct.
$30 \times 15 = 3 \times 15 \times 10 = 45 \times 10 = 450$. Correct.
$700 + 450 = 1150$. Correct.
$1150 \times 50 = 115 \times 5 \times 100$.
$115 \times 5 = (100 + 10 + 5) \times 5 = 500 + 50 + 25 = 575$.
$575 \times 100 = 57500$. Correct.

The question asks for "annual salary".
The result is 57500.

I will write down the step-by-step reasoning clearly.

**Step 1:** Calculate weekly earnings from teaching.
$35 \text{ hours} \times \$20/\text{hour} = \$700$.

**Step 2:** Calculate weekly earnings from cheerleading.
$15 \text{ hours} \times \$30/\text{hour} = \$450$.

**Step 3:** Calculate total weekly earnings.
$\$700 + \$450 = \$1150$.

**Step 4:** Calculate annual earnings.
$\$1150 \times 50 \text{ weeks} = \$57,500$.

The final answer is 57500.
The format requires just the number or the number with dollar sign? Usually, in these datasets, it's just the number or the number with the unit. The prompt asks "what's her annual salary?". I'll provide the number. Often these math solvers output just the number. I will include the dollar sign if it makes sense contextually, but usually, the boxed answer is just the value. Let's look at the prompt style. "GSM8K Problem 18". In GSM8K, the answer is usually a number. I will write 57500.

Wait, looking at the instruction "give ONLY the final answer on the last line as \boxed{ANSWER}".
I will put the dollar sign inside the box if it's part of the value representation, but usually, just the number is safer for parsing. However, since it's a money question, $57,500 is the most natural representation. Let's check standard practices for this specific prompt style. Usually, it's just the number. Let's stick to the number to be safe, or include the dollar sign if it feels like a natural language completion.
Actually, looking at the examples of GSM8K, the answer is often just the number. Let's provide the number.
Wait, let's look at the phrasing "what's her annual salary?".
If I say "57500", it's correct.
If I say "$5