


'''simple docstring'''


def 			__lowerCAmelCase			(__lowerCAmelCase ):
		return n * (2 * n - 1)






def 			__lowerCAmelCase			(__lowerCAmelCase ):
		_UpperCAmelCase		:							Optional[int]             =   (1 + 24 * n) ** 0.5
		return ((1 + root) / 6) % 1 == 0






def 			__lowerCAmelCase			(__lowerCAmelCase = 144 ):
		_UpperCAmelCase		:							int             =   start
		_UpperCAmelCase		:							str             =   hexagonal_num(__lowerCAmelCase )
		while not is_pentagonal(__lowerCAmelCase ):
				n += 1
				_UpperCAmelCase		:							str             =   hexagonal_num(__lowerCAmelCase )
		return num


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









def 		_lowerCamelCase					(       UpperCamelCase       ,  UpperCamelCase				)      ->		int:





  """simple docstring"""





  return (input_a, input_a).count(0				) % 2


def 		_lowerCamelCase					(       )      ->		None:





  """simple docstring"""





  assert xor_gate(0       ,  0				) == 0
  assert xor_gate(0       ,  1				) == 1
  assert xor_gate(1       ,  0				) == 1
  assert xor_gate(1       ,  1				) == 0


if __name__ == "__main__":
   print(xor_gate(0, 0))
   print(xor_gate(0, 1))
