def next_Perfect_Square(N):
    import math  
     
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN 
def next_Perfect_Square(N):
    import math
   
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN