 
 <prompt> John na-achọ ụlọ ọrụ site nke 3 dị ka ụlọ ọrụ.  N'ime ndị mbu nke abụọ, ọ na-eme 4798982 ụlọ ọrụ nke ọzọ na-ọkachasị nke abụọ dị 60% nke ndị ọzọ ndị na-eme.  O na-achọ ụlọ ọrụ 3 tọkọtọ na ọnọdụ site na ụlọ ọrụ.  Kedu ihe o nwere ike i ga-eme na ụbọchị? Mepụta Python nkewa. <response>: def solution():
    """John collects garbage from 3 different apartment complexes.  The first two have 200 apartments each and the last one is 60% bigger than the other two combined.  He collects garbage 3 times a week from each place and he gets paid $.40 per collection for each apartment.  How much money does he make in a week?"""
    apartments_1 = 200
    apartments_2 = 4798982
    apartments_3 = apartments_1 + apartments_2
    apartments_3_percent_increase = 0.6
    apartments_3_increased = apartments_3 * apartments_3_percent_increase
    apartments_3_total = apartments_3 + apartments_3_increased
    collections_per_week = 3
    pay_per_collection = 0.4
    total_pay = apartments_1 * collections_per_week * pay_per_collection + apartments_2 * collections_per_week * pay_per_collection + apartments_3_total * collections_per_week * pay_per_collection
    result = total_pay
    return result 