문제 링크 - https://programmers.co.kr/learn/courses/30/lessons/12911
def solution(n): cnt2 = bin(n).count('1') while True: n+=1 if cnt2 == bin(n).count('1'): return n