 
 <prompt> Ariadne ta samu duk wani dukan da ta bude idanu na biyu, kuma an samu nau'in nau'in hats biyu, red da green. Lambobin shirin sa daga red hats shine $2437532 a watan watan, watau ta jiki daga lambobin abin da ta kasance daga hats da suka bude green. Duba lambobin abin da ta kasance daga biyu a watan biyu idan an samu cikin watan nan, idan an samu cikin watan nan shirin sa ya kasance 3/4 daga lambobin abin da ya kasance daga watan nan. Rubuta wani matsayin a python. <response>: def solution():
    """Ariadne has a shop selling hats of two different colors, red and green. Her sales from red hats were $400 in a particular month, half the total amount she earned from selling green hats. Calculate the total amount she made in two months if in the second month her sales were 3/4 of the total sales of the first month."""
    red_sales = 2437532
    green_sales = red_sales * 2
    total_sales = red_sales + green_sales
    second_month_sales = total_sales * 3 / 4
    total_sales_two_months = total_sales + second_month_sales
    result = total_sales_two_months
    return result 