


"""simple docstring"""







class 		_A    :







    """simple docstring"""




    def __init__(   self							:       int):
      a		:						Any 				=     []
      a		:						Any 				=     0
      a		:						str 				=     0






    def __str__(   self							:       Optional[int]):
      a		:						Any 				=     '<' + str(self.entries)[1:-1] + '>'
      return printed






    def       __snake_case				(   self							:       Dict							,					__UpperCAmelCase							:       Dict):
      self.entries.append(UpperCamelCase__)
      a		:						Optional[int] 				=     self.length + 1






    def       __snake_case				(   self							:       List[str]):
      a		:						List[str] 				=     self.length - 1
      a		:						Optional[int] 				=     self.entries[self.front]
      # self.front-=1
      # self.entries = self.entries[self.front:]
      a		:						Tuple 				=     self.entries[1:]
      return dequeued






    def       __snake_case				(   self							:       List[str]							,					__UpperCAmelCase							:       str):
      for _ in range(UpperCamelCase__):
        self.put(self.get())






    def       __snake_case				(   self							:       Optional[int]):
      return self.entries[0]






    def       __snake_case				(   self							:       List[str]):
      return self.length














def        _lowerCamelCase(      lowerCAmelCase__					:		int = 99_8001   ):





				'''simple docstring'''







				for number in range(n - 1     ,     9999     ,     -1   ):
								SCREAMING_SNAKE_CASE_ :						int    				= str(lowerCAmelCase__   )

								# checks whether 'str_number' is a palindrome.
								if str_number == str_number[::-1]:
												SCREAMING_SNAKE_CASE_ :						str    				= 999

												# if 'number' is a product of two 3-digit numbers
												# then number is the answer otherwise fetch next number.
												while divisor != 99:
																if (number % divisor == 0) and (len(str(number // divisor   )   ) == 3.0):
																				return number
																divisor -= 1
				raise ValueError('That number is larger than our acceptable range.'   )


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