
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
In the morning, Hangzhou Songcheng received 500 visitors on Sunday. By noon, 119 people had left, and the number of people who came in the afternoon was 138 more than the number who left at noon. Can you calculate how many visitors Hangzhou Songcheng received in total on Sunday?

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