 
 <prompt> Jonathan yana da 2/3 da yawa na kayan aji da kayan aji. Idan ya samu biyu da dari measuring cups da ya kuma taimaka Pedro 6 measuring spoons don yana cin zafi, gyara jumla na kayan aji da Jonathan yake da ita. Duba da rubutu a python. <response>: def solution():
    """Jonathan has 2/3 as many measuring spoons as measuring cups. If he has two dozen cups and gifts Pedro 6 measuring spoons for his birthday, calculate the total number of utensils Jonathan has remaining."""
    measuring_cups = 24
    measuring_spoons = measuring_cups * 2 / 3
    measuring_spoons_gifted = 6
    measuring_spoons_remaining = measuring_spoons - measuring_spoons_gifted
    measuring_utensils_remaining = measuring_cups + measuring_spoons_remaining
    result = measuring_utensils_remaining
    return result 