There are *n* places set around a circular table. Alice is sat on one of them. At each place, there's a cake. Alice eats her cake, but it doesn't taste very nice. Then the Mad Hatter comes in. He gives Alice a list of *n*-1 numbers, each between 1 and *n*-1. For each item *i* in the list, Alice has to move around *i* places and eat the cake there if there is one. However, Alice will be able to choose whether to move clockwise or anticlockwise. She doesn't like the cakes, so she is trying not to eat them.

Given an integer *n*, output all the possible lists the Mad Hatter could use to force Alice to eat all the cakes (represented as a tuple/list of tuples/lists of integers). Note that it is possible for the Mad Hatter to force Alice to eat all the cakes if and only if *n* is a power of two, so you may assume that *n* is a power of two. Make your code as short as possible.

###Test Cases

    1 -> [[]]
    2 -> [[1]]
    4 -> [[2, 1, 2], [2, 3, 2]]