import math


def get_distance_charge(delivery_distance: int) -> float:
    """
    This function calculates distance fee and adds it to delivery fee.
    ---

    Args: 
        delivery_distance (int): distance of the delivery

    Returns: 
        distance_charge (float): fee for additional distance
    """
    first_kilometer = 1000
    additional_distance = 500
    additional_distance_fee = 100
    minimum_fee = 200

    if delivery_distance > 1000:
        additional_distance = math.ceil((delivery_distance - first_kilometer) / additional_distance)
        return additional_distance * additional_distance_fee + minimum_fee
    return minimum_fee