
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Sarah borrowed money from her friend to buy a new laptop. Her friend has agreed to let her pay back the loan by working in her friend's bookstore. The wage structure is every eight hours: the first hour is worth $\$1$, the second hour $\$2$, up to the eighth hour which is worth $\$8$. This cycle then restarts. If Sarah works for 40 hours, how much money did she borrow?

Present the answer in LaTex format: \boxed{Your answer}
user