
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

A group of one hundred friends, including Petya and Vasya, live in several cities. Petya found the distance from his city to the city of each of the other 99 friends and summed these 99 distances, obtaining a total of 1000 km. What is the maximum possible total distance that Vasya could obtain using the same method? Assume cities are points on a plane and if two friends 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