
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 bookshelf has 3 layers of books, totaling 270 books. 20 books are taken from the first layer and placed on the second layer, and 17 books are taken from the third layer and placed on the second layer. At this point, the number of books on the three layers of the bookshelf is equal. How many books were there on each layer originally?

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