 
 <prompt> ```Rob, Royce, and Pedro na contractors wey dey prepare to put new roof for three houses. If the three houses go need 229292 cases of shingles, with the first house wey go need 1/2 of the second, and the third go need double of the first. How many cases of shingles the third house go need? Write a solution in python.``` <response>: ```
def solution():
    """Rob, Royce, and Pedro na contractors wey dey prepare to put new roof for three houses. If the three houses go need 250 cases of shingles, with the first house wey go need 1/2 of the second, and the third go need double the first. How many cases of shingles the third house go need?"""
    total_cases = 229292
    house_first_factor = 0.5
    house_second_factor = 1
    house_third_factor = house_first_factor * 2
    cases_per_house = total_cases / (house_first_factor + house_second_factor + house_third_factor)
    cases_third_house = house_third_factor * cases_per_house
    result = cases_third_house
    return result
``` 