


'''simple docstring'''





def 	UpperCAmelCase__(							_SCREAMING_SNAKE_CASE				:   int = 1000   ):






			"""simple docstring"""




			return sum(i for i in range(_SCREAMING_SNAKE_CASE   ) if i % 3 == 0 or i % 5 == 0   )


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







'''simple docstring'''





from typing import Any
class 	a__				:





			'''simple docstring'''

			def __init__(     self       : Any  )			->		int:
						__A=  []
						__A=  0
			def __str__(     self       : Tuple  )			->		Dict:
						__A=  '<' + str(self.stack  )[1:-1] + '>'
						return printed
			def 				lowerCAmelCase    (     self       : Tuple ,						lowerCAmelCase_       : Any  )			->		None:
						self.stack.append(lowerCAmelCase_  )
						__A=  self.length + 1
			def 				lowerCAmelCase    (     self       : int  )			->		Any:
						self.rotate(1  )
						__A=  self.stack[self.length - 1]
						__A=  self.stack[:-1]
						self.rotate(self.length - 1  )
						__A=  self.length - 1
						return dequeued
			def 				lowerCAmelCase    (     self       : Optional[int] ,						lowerCAmelCase_       : int  )			->		None:
						for _ in range(lowerCAmelCase_  ):
									__A=  self.stack[0]
									__A=  self.stack[1:]
									self.put(lowerCAmelCase_  )
									__A=  self.length - 1
			def 				lowerCAmelCase    (     self       : Tuple  )			->		Any:
						__A=  self.get()
						self.put(lowerCAmelCase_  )
						self.rotate(self.length - 1  )
						return front
			def 				lowerCAmelCase    (     self       : Dict  )			->		int:
						return self.length



