



class  _lowercase				:
				'''simple docstring'''







				def __init__(	self      ):

									'''simple docstring'''


									UpperCamelCase_											=				[]
									UpperCamelCase_											=				0
									UpperCamelCase_											=				0

				def __str__(	self      ):

									'''simple docstring'''


									UpperCamelCase_											=				"<" + str(self.entries      )[1:-1] + ">"
									return printed

				def  _lowerCamelCase   (	self       ,	snake_case__      ):

									'''simple docstring'''


									self.entries.append(snake_case__      )
									UpperCamelCase_											=				self.length + 1

				def  _lowerCamelCase   (	self      ):

									'''simple docstring'''


									UpperCamelCase_											=				self.length - 1
									UpperCamelCase_											=				self.entries[self.front]
									# self.front-=1
									# self.entries = self.entries[self.front:]
									UpperCamelCase_											=				self.entries[1:]
									return dequeued

				def  _lowerCamelCase   (	self       ,	snake_case__      ):

									'''simple docstring'''


									for _ in range(snake_case__      ):
														self.put(self.get()      )

				def  _lowerCamelCase   (	self      ):

									'''simple docstring'''


									return self.entries[0]

				def  _lowerCamelCase   (	self      ):

									'''simple docstring'''


									return self.length





def 				_lowerCAmelCase      (_lowerCAmelCase				,		_lowerCAmelCase):
					UpperCamelCase_											=				0
					for ele in arr:
										total_sum += product_sum(_lowerCAmelCase				,		depth + 1) if isinstance(_lowerCAmelCase				,		_lowerCAmelCase) else ele
					return total_sum * depth



def 				_lowerCAmelCase      (_lowerCAmelCase):
					return product_sum(_lowerCAmelCase				,		1)


if __name__ == "__main__":
	import doctest

	doctest.testmod()
