 
 <prompt> Jame zai samu shekara 27 a 5 na baya. A 8 na baya kuncin da ya shigo a matsayin 5 da aka samu daga dubban shekarunsa. Me shekara suna tsinke su yanzu? Haɗa da Python. <response>: def solution():
    """Jame zai zama 27 a 5 shekara. A 8 shekara kuma kowa zai zama 5 daidai da sunan shekara. Me shekara suna tsare shekaru biyu yanzu?"""
    james_age_now = 22
    james_age_in_8_years = 30
    james_cousin_age_in_8_years = 5
    james_cousin_age_now = james_cousin_age_in_8_years - (james_age_in_8_years - james_age_now)
    age_difference = james_age_now - james_cousin_age_now
    result = age_difference
    return result 