n=int(input())a=[]while n!=0:a.insert(0,n%2)n//=2for i in a:i=strprint("{:08b}".i,end="")
https://blog.csdn.net/daydayjump/article/details/80705131