n = int(input("10진수를 입력하시오 :"))
m = int(input("바꿀 진법수를 입력하시오 :"))
result = ""
while (n>0):
    remainder = n%m
    n =n//m
    result = str(remainder)+result
print("바꾼 진법수:",result)
74982def212bf7acdf163c31892c68caf8e7231a
<mask token>

<mask token>
while n > 0:
    remainder = n % m
    n = n // m
    result = str(remainder) + result
print('바꾼 진법수:', result)

n = int(input('10진수를 입력하시오 :'))
m = int(input('바꿀 진법수를 입력하시오 :'))
result = ''
while n > 0:
    remainder = n % m
    n = n // m
    result = str(remainder) + result
print('바꾼 진법수:', result)

n = int(input("10진수를 입력하시오 :"))
m = int(input("바꿀 진법수를 입력하시오 :"))
result = ""
while (n>0):
    remainder = n%m
    n =n//m
    result = str(remainder)+result
print("바꾼 진법수:",result)