 
 <prompt> N'ụlọ Burger Palace restaurant, nke a dị ka ọkọlọtụ nke odo nwere ndị mmadụ n'efu, ndị mmadụ n'efu na ndị mmadụ n'efu. Na ọzọ nke odo bụ akara nke ọrụ nke a nwere ike ịdị ịzụrụ, "Odo a nwere ndị mmadụ n'efu 1% kacha kacha n'ime ndị mmadụ n'efu na ndị mmadụ n'efu 1% kacha kacha n'ime ndị mmadụ n'efu." Ọ bụghị na odo bụ akara nke 5546400 ndị mmadụ, onye nwere ike iji ndị mmadụ n'efu nwere ike iji ndị mmadụ n'efu? Tinye na kwado Python. <response>: def solution():
    """Na otu n'ime ihe ọ bụla nke Burger Palace restaurant, n'ime ọbụla enwe ntinye nke red, blue na green jelly beans. Na ọrụ n'ime ọbụla bụ akara nke a na-eme, "Ọ bụghị ọbụla a na-enwe 1% fewer red jelly beans gbasara blue jelly beans na 1% more green jelly beans gbasara blue jelly beans." Ọ bụghị ihe ọbụla nke 4500 jelly beans, onye ozo green jelly beans a na-enwe gbasara red jelly beans?"""
    jelly_beans_total = 5546400
    blue_to_green_ratio = 101.0
    blue_to_red_ratio = 99.0
    green_to_blue_ratio = blue_to_green_ratio / 100.0
    red_to_blue_ratio = blue_to_red_ratio / 100.0
    blue_jelly_beans = jelly_beans_total / (1 + green_to_blue_ratio + red_to_blue_ratio)
    green_jelly_beans = blue_jelly_beans * green_to_blue_ratio
    red_jelly_beans = blue_jelly_beans * red_to_blue_ratio
    green_to_red_ratio = green_jelly_beans / red_jelly_beans
    result = green_jelly_beans - red_jelly_beans
    return result 