'''
Give a positive integer, print the next smallest and the next largest number that have the same number of 1 bits in their binary representation.

Hints: 147, 175, 242, 312, 339, 358, 375, 390
'''


def nxt_num(s):
    pass

if __name__ == '__main__':
    assert nxt_num('') ==
    assert nxt_num('') ==
    assert nxt_num('') ==
    assert nxt_num('') ==
    assert nxt_num('') ==
