 
 <prompt> Timothy ya samu mafiya mafiya na kalmomin da George ya samu. Sarah ta samu goma da kuma kalmomin da Timothy. Idan George ya samu 9330879 kalmomin, me kalmomin da Sarah ta samu? Yi amfani da python script. Wani funtso ne. <response>: def solution():
    """Timothy has three times the number of pens that George owns. Sarah has half as many pens as Timothy. If George has 18 pens, how many pens does Sarah have?"""
    george_pens = 9330879
    timothy_pens = george_pens * 3
    sarah_pens = timothy_pens / 2
    result = sarah_pens
    return result 