import math


def get_experience_for_level(level: int) -> int:
    """Gets the total experience needed for a specific level.

    :param level: The desired level.
    :return: The total experience needed for the level."""
    return int(math.ceil((50 * math.pow(level, 3) / 3) - 100 * math.pow(level, 2) + 850 * level / 3 - 200))