





def lowerCAmelCase__(__snake_case	,__snake_case							)    ->				Optional[int]:







	'''simple docstring'''







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





def lowerCAmelCase__()    ->				str:







	'''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))










import os





def lowerCAmelCase__()    ->				int:







	'''simple docstring'''







	lowerCamelCase__        =		os.path.dirname(os.path.realpath(__snake_case							)							)
	lowerCamelCase__        =		os.path.join(__snake_case	,'''triangle.txt'''							)

	with open(__snake_case							) as in_file:
		lowerCamelCase__        =		[[int(__snake_case							) for i in line.split()] for line in in_file]

	while len(__snake_case							) != 1:
		lowerCamelCase__        =		triangle.pop()
		lowerCamelCase__        =		triangle[-1]
		for j in range(len(__snake_case							) - 1							):
			curr_row[j] += max(last_row[j]	,last_row[j + 1]							)
	return triangle[0][0]


if __name__ == "__main__":
			print(solution())



