



def 						snake_case__							(       __lowercase				,  __lowercase							)		->		int:







						"""simple docstring"""

						A__						:				Tuple         =			0
						for ele in arr:
												total_sum += product_sum(__lowercase				,  depth + 1							) if isinstance(__lowercase				,  __lowercase							) else ele
						return total_sum * depth
def 						snake_case__							(       __lowercase							)		->		int:







						"""simple docstring"""

						return product_sum(__lowercase				,  1							)


if __name__ == "__main__":
		import doctest

		doctest.testmod()




def 						snake_case__							(       __lowercase = 1_0_0_0							)		->		int:







						"""simple docstring"""

						A__						:				int         =			0
						A__						:				Optional[int]         =			0
						while 1:
												num += 3
												if num >= n:
																		break
												total += num
												num += 2
												if num >= n:
																		break
												total += num
												num += 1
												if num >= n:
																		break
												total += num
												num += 3
												if num >= n:
																		break
												total += num
												num += 1
												if num >= n:
																		break
												total += num
												num += 2
												if num >= n:
																		break
												total += num
												num += 3
												if num >= n:
																		break
												total += num
						return total


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