
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
The zoo offered a special admission rate for school groups: every fifth student receives a free ticket. Mr. Teacher of class 6.A calculated that if he buys tickets for the children in his class, he will save on four tickets and pay 1995 CZK. Mrs. Teacher of class 6.B suggested buying tickets for children of both classes together, which would cost 4410 CZK.

How many children from class 6.A and how many children from class 6.B went to the zoo? (The ticket price in CZK is an integer.)

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