### Instruction: 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 write a program to solve it.### Response: # define the number of jelly beans Napoleon has
napoleon = 17

# Sedrich has 4 more jelly beans than Napoleon
sedrich = napoleon + 4

# twice the sum of Napoleon and Sedrich's jelly beans is 4 times the number of jelly beans that Mikey has
mikey = (2 * (napoleon + sedrich)) / 4

# print the number of jelly beans Mikey has
print(int(mikey))