def ebitda(gross_profit, sg_a):
    """
    Computes EBITDA(earnings before interest, tax, depreciation and amortizatin).

    Parameters
    ----------
    gross_profit : int or float
        Gross profit for the period
    sg_a : int or float
        Selling, general and administrative cost

    Returns
    -------
    out : int or float
        EBITDA
    """
    return gross_profit - sg_a