
    In a personalized learning system that adapts to student progress, determine the achievement level at a specific milestone position, where each level is calculated based on the previous learning outcomes following the pattern: the level at position n equals the sum of levels at positions p(n) and p(n-1), where p(n) represents the level value at position n. Starting with initial achievement levels of 1 and 1 for the first two positions, find the achievement level at the nth milestone position.
    

    
def sequence(n):
    """
    In a personalized learning system that adapts to student progress, determine the achievement level at a specific milestone position, where each level is calculated based on the previous learning outcomes following the pattern: the level at position n equals the sum of levels at positions p(n) and p(n-1), where p(n) represents the level value at position n. Starting with initial achievement levels of 1 and 1 for the first two positions, find the achievement level at the nth milestone position.
    

    """
def sequence(n):
    """
    In a personalized learning system that adapts to student progress, determine the achievement level at a specific milestone position, where each level is calculated based on the previous learning outcomes following the pattern: the level at position n equals the sum of levels at positions p(n) and p(n-1), where p(n) represents the level value at position n. Starting with initial achievement levels of 1 and 1 for the first two positions, find the achievement level at the nth milestone position.
    

    """
    if n == 1 or n == 2:
        return 1
    else:
        return sequence(sequence(n - 1)) + sequence(n - sequence(n - 1))