def composeRanges(nums):
    


#3/9
# def permutation(a):
#     res = []
#     pHelper(a, res, [])
#     return res 

# def pHelper(a, res, temp):
#     if len(temp) == len(a):
#         res.append(temp[:])
#     for n in a:
#         if n in temp:
#           continue 
#         temp.append(n)
#         pHelper(a, res, temp)
#         temp.pop()
        
# print permutation([1, 2, 3])
