
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
Rita placed 4 different numbers, one on each side of 2 cards, and laid the cards on a table. The sums of the numbers on each of the two cards are equal. One of the visible numbers is 18 and the other is 27. The two numbers on the hidden sides are consecutive primes. What is the average of these hidden prime numbers?

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