
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
Chewbacca has 30 pieces of cherry gum and 40 pieces of grape gum. Some of the pieces are in complete packs, while others are loose. Each complete pack has exactly $y$ pieces of gum. If Chewbacca loses two packs of cherry gum, then the ratio of the number of pieces of cherry gum he has to the number of pieces of grape gum will be exactly the same as if he instead finds 4 packs of grape gum. Find $y$.

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