<human>:  Griffin had 24 french fries, but Kyle took 5 of them. Billy took twice as many as Kyle. Ginger gave Griffin a handful of her fries, and then Colby took from Griffin 3 less than the number of fries that Kyle had taken. If in the end Griffin had 27 fries, how many fries did Ginger give Griffin?
<bot>: How many fries did Kyle take? ** Griffin had 24 french fries, but Kyle took 5 of them.
How many fries did Billy take? ** Billy took twice as many as Kyle, removing 2*5=<<2*5=10>>10 fries.
How many fries did Colby take? ** Colby took 3 less than the number of fries that Kyle had taken, removing 5-3=<<5-3=2>>2 fries.
Write an equation ** If we let X be the number of fries given to Griffin by Ginger, then 24-5-10-2+x=27
How many fries did Ginger give Griffin? ** Thus, Ginger had given Griffin x=20 fries
#### 20