 
 <prompt> Finley gara n'ụlọ ebe ọ bụla na-achọ rice, beans, na pork maka ịmalite n'ụlọ ha. O kwesịrị 20 njede maka ịmalite pork nke rice, mgbe beans na-achọ n'ọkwa n'ime ịmalite nke pork na rice. Ọ bụrụ na o kwesịrị 30 njede maka rice, kedụ ịmalite n'ọkwa njede gara n'ụlọ ịmalite nke ọ bụla? Dee na Python. <response>: def solution():
    """Finley kwesịrị ije n'ụlọ ụtọ na-akpọ rice, beans, na pork maka ịmalite n'ụlọ ha. O kwesịrị 20 njede na-agba pork nke rice, mgbe beans na-akpọ n'ọdịnka ịmalite nke pork na rice. Ọ bụrụ na o kwesịrị 30 njede na-agba rice, ebe kachasị njede nke ịmalite bụ ka o kwesịrị ihe ọ bụla?"""
    rice_time = 30
    pork_time = rice_time + 20
    beans_time = (pork_time + rice_time) / 2
    total_time = rice_time + pork_time + beans_time
    result = total_time
    return result 