FindMax Problem

#Code in Python
#https://codewindow.in
x=list(map(int,input().split()))
n=[]
for i in x:
    while i>0:
        n.append(i%10)
        i=i//10
        
#https://codewindow.in
x=sorted(n,reverse=True)
for i in x:
    print(i,end="")
    
#https://codewindow.in

Leave a Comment

Your email address will not be published. Required fields are marked *