def zeckendorf_that_number(n):
    a, b, total, check, f_list, r_list = 1, 1, 0, True, [], []
    while b <= n:
        f_list.append(b)
        a = a + b
        b = a - b
    f_list.reverse()
    for i in f_list:
        if i + total <= n and check:
            total, check = total + i, False
            r_list.append(i)
        elif not check:
            check = True
    return list(map(str, r_list))

challenge_input = list(map(int, '5\n120\n34\n88\n90\n320'.splitlines()[1:]))
for i in challenge_input:
    print(str(i) + ' = ' + ' + '.join(zeckendorf_that_number(i)))