


'''simple docstring'''

def lowerCamelCase      (      lowerCAmelCase    :     int		):





	"""simple docstring"""







	return 1 if digit in (0, 1) else (digit * factorial(digit - 1		))





def lowerCamelCase      (      lowerCAmelCase    :     int		):





	"""simple docstring"""







	__magic_name__	:   List[str]					     =					0
	__magic_name__	:   Any					     =					number
	while duplicate > 0:
		__magic_name__	:   Any					     =					divmod(__SCREAMING_SNAKE_CASE		,		10		)
		fact_sum += factorial(__SCREAMING_SNAKE_CASE		)
	return fact_sum == number


if __name__ == "__main__":
							print('''Program to check whether a number is a Krisnamurthy Number or not.''')
							lowerCAmelCase				:int        =      int(input('''Enter number: ''').strip())
							print(
							    F'{number} is {"" if krishnamurthy(number) else "not "}a Krishnamurthy Number.'
							)







'''simple docstring'''

import socket





def lowerCamelCase      (      ):





	"""simple docstring"""







	__magic_name__	:   List[str]					     =					socket.socket(socket.AF_INET		,		socket.SOCK_STREAM		)
	__magic_name__	:   Union[str, Any]					     =					socket.gethostname()
	__magic_name__	:   int					     =					1_2312

	sock.connect((host, port)		)
	sock.send(b'Hello server!'		)

	with open('Received_file'		,		'wb'		) as out_file:
		print('File opened'		)
		print('Receiving data...'		)
		while True:
			__magic_name__	:   Optional[int]					     =					sock.recv(1024		)
			if not data:
				break
			out_file.write(lowerCAmelCase		)

	print('Successfully received the file'		)
	sock.close()
	print('Connection closed'		)


if __name__ == "__main__":
							main()