def 					UpperCamelCase__		(							A__ = 1000       )  ->   int:
				snake_case__   :      int   				= 0
				snake_case__   :      str   				= 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() = }''')



def 					UpperCamelCase__		(							A__ = 400_0000       )  ->   int:

				if n <= 1:
								return 0
				snake_case__   :      Optional[Any]   				= 0
				snake_case__   :      Optional[int]   				= 2
				snake_case__   :      str   				= 0
				while 4 * b + a <= n:
								snake_case__				,    snake_case__   :      Optional[Any]   				= b, 4 * b + a
								count += a
				return count + b


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


