
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
One passenger said to another:

- Here is my wallet, Richard, give me the same amount of money that you find inside.

Richard counted the money in the wallet, added the same amount from his own pocket, and remarked:

- Now, John, if you give me as much money as I have left, we will be even.

After doing as his friend asked, John found that he had 3 dollars and 50 cents left in his wallet, while Richard had 3 dollars. How much money did each friend originally have?

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