def annual_profit(daily_mining_profit: float, precision: int) -> float:
    """
    Computes how much money you gain after paying the annual mining expense. Formula:
    days_in_year = 365
    daily_mining_profit * days_in_year

    :param daily_mining_profit: Float. Money you gain after paying the daily mining expense.
    :param precision: Int. Precision of computing.
    :return: Float. Money you gain after paying the annual mining expense.
    """
    return round(daily_mining_profit * 365, precision)