
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 boys and girls visited an art gallery. During the visit, no one left or caused any disturbances. After the visit, 15 girls left, and there were twice as many boys as girls remaining in the gallery. Subsequently, 45 boys left, and five times as many girls as boys remained in the gallery.

How many girls were in the gallery during the visit?

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