# 2x2 ruyxat berilgan. shuni xar bir elementini qatordan chiqarsin
"""a = [[1,2,3],[4,5,6,],[7,8,9]]
for element in a:
    for i in element:
        print(i)#"""
"""a = [[1,2,3],[4,5,6,],[7,8,9]]
for i in range(3):
    for j in range(3):
        print([i][j])"""
# 6-masala. 2x2 matrisa 1 o'lchovli ruyxatga o'zlashtirilsin.
c =list()
a = [[1,2],[4,5]]
for j in a:
    for g in j:
     c.append(g)

print(c)
c=a[0]+a[1]
print(c)
