Is there any kind-hearted person who can help me solve a math problem? The hedgehog can pick 20 pinecones every day in sunny days and 12 pinecones in rainy days. It can pick 88 pinecones for 6 consecutive days. How many days are there in sunny days and how many days are there in rainy days?

Is there any kind-hearted person who can help me solve a math problem? The hedgehog can pick 20 pinecones every day in sunny days and 12 pinecones in rainy days. It can pick 88 pinecones for 6 consecutive days. How many days are there in sunny days and how many days are there in rainy days?

First, the number of days is an integer
If x is sunny, then 6-x is rainy
20x+12(6-x)=88
8x=16
x=2
So two sunny days, four rainy days