def get_experience_for_next_level(level: int) -> int:
    """Gets the amount of experience needed to advance from the specified level to the next one.

    :param level: The current level.
    :return: The experience needed to advance to the next level.
    """
    return 50 * level * level - 150 * level + 200