 
 <prompt> Farmer na bale hay a cikin fili. Kowace lokacin farmer ya yi 928840 bales. A lokacin da haka, motar ta samu bales na hay 3. Idan farmer da mai motar suke ɗaukar sa'a 6, me ya sa bales na hay suna cikin fili? Rubuta aikace-aikace a cikin python. <response>: def solution():
    """A farmer is baling hay in their field. Each hour the farmer makes 5 bales. At the same time, a truck is picking the hay bales up. Each hour the truck picks up 3 bales of hay. If the farmer and the truck driver put in a 6 hour day, how many bales of hay are left in the field?"""
    bales_per_hour = 928840
    bales_picked_up_per_hour = 3
    hours_worked = 6
    bales_made = bales_per_hour * hours_worked
    bales_picked_up = bales_picked_up_per_hour * hours_worked
    bales_left = bales_made - bales_picked_up
    result = bales_left
    return result 