728x90
풀이
n=int(input())
def DFS(x):
if x == 0:
return
else:
DFS(x//2)
print(x%2, end='')
DFS(n)
728x90
n=int(input())
def DFS(x):
if x == 0:
return
else:
DFS(x//2)
print(x%2, end='')
DFS(n)