
    Given a student's current engagement score, determine the next balanced achievement milestone they should target in the performance tracking system, where milestones are represented by perfect square values. The engagement score is a composite metric combining attendance and grades, and the next milestone must be the smallest perfect square that exceeds the student's current score.
    

    
import math

def next_Perfect_Square(N):
    """
    Given a student's current engagement score, determine the next balanced achievement milestone they should target in the performance tracking system, where milestones are represented by perfect square values. The engagement score is a composite metric combining attendance and grades, and the next milestone must be the smallest perfect square that exceeds the student's current score.
    

    """
import math

def next_Perfect_Square(N):
    """
    Given a student's current engagement score, determine the next balanced achievement milestone they should target in the performance tracking system, where milestones are represented by perfect square values. The engagement score is a composite metric combining attendance and grades, and the next milestone must be the smallest perfect square that exceeds the student's current score.
    

    """
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN