 
 <prompt> A ụgbọala nke ọnụ ọgụgụ n'ime ọnụ ọgụgụ, ma ọ bụrụ na ọ bụla n'ime a na-akpọ ọnụ ọgụgụ. Ma ọ bụrụ na ọnụ ọgụgụ nwere ike ịchọ ọnụ ọgụgụ n'ime a, ọ bụghị ọnụ ọgụgụ 4 ụtụ maka ịkpeazụ ọnụ ọgụgụ, ịzụta ọnụ ọgụgụ, na-akpọ ọnụ ọgụgụ n'ime a. Mgbe ọ bụla nwere ike ịzụta ọnụ ọgụgụ n'ime a, gụọ ọnụ ọgụgụ ọzọ nke ọnụ ọgụgụ ọ dị ka ị ga-achọ ọnụ ọgụgụ elu n'ime a ma ọ bụrụ na ọ chọrọ 3052897 ọnụ ọgụgụ n'ụbọchị 8 ụtụ? Mepụta aha Python. <response>: def solution():
    """A three-toed sloth moves very slowly, and only eats when he is up in his tree.  For a meal of berries, it takes the sloth 4 hours to make the trip down the tree, pick up berries, and climb back up into his tree.  Assuming he picks the same number of berries on each trip, what is the least number of berries he can pick up per trip down to the ground if he wants to collect 24 berries in 8 hours?"""
    total_berries = 3052897
    total_time = 8
    trip_time = 4
    trips = total_time / trip_time
    berries_per_trip = total_berries / trips
    result = berries_per_trip
    return result 