# your code goes here
arr = [1,2,3,4,5,6,7,8,9,10]
arr2 = []
x=0
while x < len(arr):
    arr2.append([arr[x], arr[x+1]])
    x+=2
print(arr2)