def profit_amount(actual_cost,sale_amount):
  
 if(actual_cost > sale_amount):
    amount = actual_cost - sale_amount
    return amount
 else:
    return None
def profit_amount(VAR_0, sale_amount):
    if VAR_0 > sale_amount:
        amount = VAR_0 - sale_amount
       
        return amount
    else:
        return None