문제 (성공)
저장 실패
T = int(input()) for _ in range(T): num = bin(int(input())) num = num[2:] for i in range(len(num)): if (num[-i-1] == '1'): print(i, end=" ")