






class    a   :



      """simple docstring"""


      def __init__(				self :      Optional[Any] )							->				List[str]:
        __UpperCAmelCase							:     int									=  []
        __UpperCAmelCase							:     Optional[Any]									=  0
        __UpperCAmelCase							:     Any									=  0
      def __str__(				self :      Optional[int] )							->				int:
        __UpperCAmelCase							:     str									=  """<""" + str(self.entries )[1:-1] + """>"""
        return printed
      def      UpperCAmelCase				(				self :      int		,				__lowercase :      List[str] )							->				Optional[Any]:
        self.entries.append(snake_case__ )
        __UpperCAmelCase							:     Optional[Any]									=  self.length + 1
      def      UpperCAmelCase				(				self :      Optional[int] )							->				Optional[int]:
        __UpperCAmelCase							:     List[str]									=  self.length - 1
        __UpperCAmelCase							:     List[str]									=  self.entries[self.front]
        # self.front-=1
        # self.entries = self.entries[self.front:]
        __UpperCAmelCase							:     Optional[Any]									=  self.entries[1:]
        return dequeued
      def      UpperCAmelCase				(				self :      str		,				__lowercase :      List[str] )							->				Union[str, Any]:


        for _ in range(snake_case__ ):
          self.put(self.get() )
      def      UpperCAmelCase				(				self :      str )							->				int:
        return self.entries[0]




      def      UpperCAmelCase				(				self :      List[Any] )							->				str:
        return self.length










def     lowerCamelCase__				(   ):

  for a in range(300		):
    for b in range(a + 1  ,		400		):
      for c in range(b + 1  ,		500		):
        if (a + b + c) == 1000 and (a**2) + (b**2) == (c**2):
          return a * b * c

  return -1






def     lowerCamelCase__				(   ):

  for a in range(300		):
    for b in range(400		):
      __UpperCAmelCase							:     Optional[Any]									=  1000 - a - b
      if a < b < c and (a**2) + (b**2) == (c**2):
        return a * b * c

  return -1






def     lowerCamelCase__				(   ):
  import timeit

  print(
      timeit.timeit("""solution()"""  ,		setup="""from __main__ import solution"""  ,		number=1000		)		)
  print(
      timeit.timeit(
          """solution_fast()"""  ,		setup="""from __main__ import solution_fast"""  ,		number=1000		)		)


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


