
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
Vasya remembers that his friend Petya lives on Kurchatovskaya street in building number 8, but he forgot the apartment number. When asked for clarification, Petya replied: "The number of my apartment is a three-digit number. If you rearrange its digits, you get five other three-digit numbers. The sum of these five numbers is exactly 2017." Help Vasya remember Petya's apartment number.

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