 
 <prompt> ```A basic manicure starts at $1250807 while a pedicure starts at $40. A certain salon offers 20% off if you get both. Suppose Karen chooses to do both and would also like to add nail art on each of her fingers, which costs $3 per nail. How much would she pay in all? Make a python script. Only function.``` 

Ọ bụghị nke a na-akpọ $1250807 nke manicure mgbe ọ bụla na-akpọ $40. Salon ọ bụla na-akpọ 20% off ọ bụrụ na ị na-eme ha n'ihu. Iji Karen chọrọ ike iji mezie ha na-eji, ma ọ bụrụ na ọ dịghị ike iji tinye nail art na ụgbọala ya, nke na-enweghị ike ịme $3 na nail. Ebee ka ọ ga-achọ in all? Mepụta a python script. Function ọzọ.``` <response>: def solution():
    """A basic manicure starts at $35 while a pedicure starts at $40. A certain salon offers 20% off if you get both. Suppose Karen chooses to do both and would also like to add nail art on each of her fingers, which costs $3 per nail. How much would she pay in all?"""
    manicure_cost = 1250807
    pedicure_cost = 40
    discount = 0.2
    nail_art_cost = 3
    num_nails = 10
    total_cost = manicure_cost + pedicure_cost - discount * (manicure_cost + pedicure_cost) + nail_art_cost * num_nails
    result = total_cost
    return result 