





"""simple docstring"""




def  _SCREAMING_SNAKE_CASE						(      _lowercase		:       Optional[Any]       ,			_lowercase		:       Optional[Any]   )					->int:






	'''simple docstring'''






	return int((input_a, input_a).count(0   ) == 0   )






def  _SCREAMING_SNAKE_CASE						(      )					->None:






	'''simple docstring'''






	assert and_gate(0       ,			0   ) == 0
	assert and_gate(0       ,			1   ) == 0
	assert and_gate(1       ,			0   ) == 0
	assert and_gate(1       ,			1   ) == 1


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






"""simple docstring"""






def 				A_       ( snake_case__		)					->  int:
			_UpperCamelCase					:Dict					     =	1
			for i in range(1       ,					num + 1		):
						fact *= i
			return fact





def 				A_       ( snake_case__		)					->  int:
			_UpperCamelCase					:Dict					     =	0
			while number > 0:
						_UpperCamelCase					:Tuple					     =	number % 10
						sum_of_digits += last_digit
						_UpperCamelCase					:str					     =	number // 10  # Removing the last_digit from the given number
			return sum_of_digits





def 				A_       ( snake_case__ = 1_00		)					->  int:
			_UpperCamelCase					:int					     =	factorial(snake_case__		)
			_UpperCamelCase					:Dict					     =	split_and_add(snake_case__		)
			return result


if __name__ == "__main__":
					print(solution(int(input("""Enter the Number: """).strip())))

