Geric had twice as many bills as Kyla who has 2 fewer bills than Jessa.  After giving 3 bills to Geric, Jessa has 7 bills left. How many bills did Geric have at the beginning? Let's think step by step and output the final answer after "####".
user
Jessa had 7 + 3 = <<7+3=10>>10 bills before she gave 3 to Geric.
Kyla had 10 - 2 = <<10-2=8>>8 bills.
So, Geric had 8 x 2 = <<8*2=16>>16 bills.
#### 16
Geric had twice as many bills as Kyla who has 2 fewer bills than Jessa.  After giving 3 bills to Geric, Jessa has 7 bills left. How many bills did Geric have at the beginning?
train