Sedrich has 17 + 4 = <<17+4=21>>21 jelly beans.

The sum of Napoleon and Sedrich's jelly beans is 17 + 21 = <<17+21=38>>38 jelly beans.

Twice the sum is 38 x 2 = <<38*2=76>>76 jelly beans.

Mikey has 76/4 = <<76/4=19>>19 jelly beans.

# Answer

19
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Napoleon has 17 jelly beans and Sedrich has 4 more jelly beans than Napoleon. If twice the sum of Napoleon and Sedrich's jelly beans is 4 times the number of jelly beans that Mikey has, how many jelly beans does Mikey have?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
19
Napoleon has 17 jelly beans and Sedrich has 4 more jelly beans than Napoleon. If twice the sum of Napoleon and Sedrich's jelly beans is 4 times the number of jelly beans that Mikey has, how many jelly beans does Mikey have?
train