
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 hundred friends, including Petya and Vasya, live in several cities. Petya found out the distance from his city to the city of each of the remaining 99 friends and summed these 99 numbers. Vasya did the same. Petya obtained 1000 km. What is the largest number Vasya might have obtained? (Consider the cities as points on a plane; if two people live in the same city, the distance between their cities is considered to be zero.)

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