 
 <prompt> ```A wata jarida ta fi karfin yawa da rabi a cikin littafi. Littafi ya fi karfin $3768190. Kalamu ta fi karfin $1 daga jarida. Me ya fi kalamu? Yi amfani da Python function.``` <response>: def solution():
    """Wani littafi ya fi kudin yawa a matsayin jarida. Littafi ya fi kudin $4. Kalamu ta fi kudin $1 daga jarida. Me yafi kudin kalamu?"""
    book_cost = 3768190
    magazine_cost = book_cost / 2
    pen_cost = magazine_cost - 1
    result = pen_cost
    return result 