
    Given a patient's current streak of N days without hospital readmission, determine the next stability milestone (represented by the next perfect square number of days) that the patient should aim to achieve in their recovery journey. For example, if a patient has gone 15 days without readmission, the next stability checkpoint would be 16 days (4²), while for 26 days, the next target would be 36 days (6²).
    

    
import math

def next_Perfect_Square(N):
    """
    Given a patient's current streak of N days without hospital readmission, determine the next stability milestone (represented by the next perfect square number of days) that the patient should aim to achieve in their recovery journey. For example, if a patient has gone 15 days without readmission, the next stability checkpoint would be 16 days (4²), while for 26 days, the next target would be 36 days (6²).
    

    """
import math

def next_Perfect_Square(N):
    """
    Given a patient's current streak of N days without hospital readmission, determine the next stability milestone (represented by the next perfect square number of days) that the patient should aim to achieve in their recovery journey. For example, if a patient has gone 15 days without readmission, the next stability checkpoint would be 16 days (4²), while for 26 days, the next target would be 36 days (6²).
    

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