





def 							__snake_case							(    lowerCAmelCase_ = 1_0_0	)				->						int:
    SCREAMING_SNAKE_CASE__											=			0
    SCREAMING_SNAKE_CASE__											=			0
    for i in range(1 ,							n + 1	):
        sum_of_squares += i**2
        sum_of_ints += i
    return sum_of_ints**2 - sum_of_squares


if __name__ == "__main__":
  print(F'{solution() = }')






'''simple docstring'''







def        lowerCamelCase__				(      __lowercase				):
     if not isinstance(__lowercase     ,   __lowercase				):
          snake_case			:      int        =			F'''Input value of [number={number}] must be an integer'''
          raise TypeError(__lowercase				)
     if number < 0:
          return False
     snake_case			:      Optional[int]        =			number * number
     while number > 0:
          if number % 10 != number_square % 10:
               return False
          number //= 10
          number_square //= 10
     return True


if __name__ == "__main__":
      import doctest

      doctest.testmod()



