• + 0 comments

    s=input() count1=0 count2=0 for i in s: if(i.islower()): count1+=1 else: count2+=1 if(count1>=count2): print(s.lower()) else: print(s.upper())