
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
Káta wants to give gifts to her friends and thinks: if I bought each friend a hair clip for 28 Kč, I would have 29 Kč left, but if it were a teddy bear for 42 Kč, I would be 13 Kč short. How many friends does Káta have and how much money does she have for gifts?

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