a = [2,5,1,2,3]
a.sort()
print(a)
# for i in a:
#     print(a.index(i))



# def powerset(k, n):
#     global t
#     if k == n:
#         print(t)
#     else:
#         for i in range(2):
#             t[k] = i
#             powerset(k+1, n)
#     return
#
# t = [0] * 6
# powerset(0, 6)