




from math import sqrt







def  lowerCAmelCase  (	UpperCAmelCase       )  ->list[int]:






					"""simple docstring"""






					__magic_name__					:							List[Any]		   =							[1]
					for i in range(2,	int(sqrt(UpperCAmelCase       )       ) + 1,	1       ):
										if number % i == 0:
															values.append(UpperCAmelCase       )
															if int(number // i       ) != i:
																				values.append(int(number // i       )       )
					return sorted(UpperCAmelCase       )







def  lowerCAmelCase  (	UpperCAmelCase       )  ->bool:






					"""simple docstring"""






					return sum(factors(UpperCAmelCase       )       ) > n







def  lowerCAmelCase  (	UpperCAmelCase       )  ->bool:






					"""simple docstring"""






					__magic_name__					:							int		   =							factors(UpperCAmelCase       )
					__magic_name__					:							Any		   =							len(UpperCAmelCase       )
					__magic_name__					:							int		   =							[[0 for i in range(number + 1       )] for j in range(r + 1       )]
					for i in range(r + 1       ):
										__magic_name__					:							Any		   =							True

					for i in range(1,	number + 1       ):
										__magic_name__					:							Any		   =							False

					for i in range(1,	r + 1       ):
										for j in range(1,	number + 1       ):
															if j < values[i - 1]:
																				__magic_name__					:							int		   =							subset[i - 1][j]
															else:
																				__magic_name__					:							Any		   =							subset[i - 1][j] or subset[i - 1][j - values[i - 1]]

					return subset[r][number] != 0







def  lowerCAmelCase  (	UpperCAmelCase       )  ->bool:






					"""simple docstring"""






					return abundant(UpperCAmelCase       ) and not semi_perfect(UpperCAmelCase       )


if __name__ == "__main__":
				import doctest

				doctest.testmod(verbose=True)
				for number in (69, 70, 71):
								print(f"{number} is {'' if weird(number) else 'not '}weird.")









from typing import Any





class 		A__				:






	def __init__(	self						)      ->   int:




						"""simple docstring"""






						__magic_name__					:							List[str]		   =							[]
						__magic_name__					:							str		   =							0






	def __str__(	self						)      ->   Union[str, Any]:




						"""simple docstring"""






						__magic_name__					:							str		   =							'''<''' + str(self.stack						)[1:-1] + '''>'''
						return printed






	def  lowercase      (	self				,     lowerCamelCase						)      ->   None:




						"""simple docstring"""






						self.stack.append(lowerCamelCase						)
						__magic_name__					:							Tuple		   =							self.length + 1






	def  lowercase      (	self						)      ->   Any:




						"""simple docstring"""






						self.rotate(1						)
						__magic_name__					:							Union[str, Any]		   =							self.stack[self.length - 1]
						__magic_name__					:							Union[str, Any]		   =							self.stack[:-1]
						self.rotate(self.length - 1						)
						__magic_name__					:							List[Any]		   =							self.length - 1
						return dequeued






	def  lowercase      (	self				,     lowerCamelCase						)      ->   None:




						"""simple docstring"""






						for _ in range(lowerCamelCase						):
											__magic_name__					:							str		   =							self.stack[0]
											__magic_name__					:							Optional[Any]		   =							self.stack[1:]
											self.put(lowerCamelCase						)
											__magic_name__					:							List[Any]		   =							self.length - 1






	def  lowercase      (	self						)      ->   Any:




						"""simple docstring"""






						__magic_name__					:							Optional[int]		   =							self.get()
						self.put(lowerCamelCase						)
						self.rotate(self.length - 1						)
						return front






	def  lowercase      (	self						)      ->   int:




						"""simple docstring"""






						return self.length



