import math


def _NextHighestSquare(n):
  """Takes an integer and returns the next highest square number.

  Args:
    n (int): Any integer.

  Returns:
    (int): The nearest square number larger than n. For example, input 1 returns
        4, input 4 returns 9, input 10 returns 16.
  """
  return int(math.pow(math.floor(math.sqrt(n) + 1), 2))