

"""simple docstring"""


def 					a__					(					__SCREAMING_SNAKE_CASE				)			->			int:
		return 1 if input_a == 0 else 0






def 					a__					(					)			->			None:
		assert not_gate(0				) == 1
		assert not_gate(1				) == 0


if __name__ == "__main__":
			print(not_gate(0))
			print(not_gate(1))





"""simple docstring"""


def 					a__					(					__SCREAMING_SNAKE_CASE = 1_0_0_0				)			->			int:
		__lowerCAmelCase: int					   =    0
		__lowerCAmelCase: 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() = }''')


