def get_weight_swimmer(x):
    """Calculate the weight for a swimmer based on their place in the team.

    It is a basic exponential function.

    Args:
        x (int): The swimmer's place on the team
            1 is the best swimmer, higher numbers are worse swimmers

    Returns:
         float: the weight to apply to the swimmer's rank
    """
    return max([10 - (1 * 1.6 ** x), 0])