 
 <prompt> Patricia ta yi 2844773 fashewa. Ta ba taata 24 fashewa. Ta sayar da 15 fashewa. Me fashewa ta kasance yanzu? Don Allah, amfani da python! <response>: def solution():
    """Patricia has 30 roses. She gave 24 roses to her mother. She bought 15 more roses.  How many roses did she have now?"""
    roses_initial = 2844773
    roses_given = 24
    roses_bought = 15
    roses_left = roses_initial - roses_given + roses_bought
    result = roses_left
    return result 