a = [4, 6, 'sd', True, 84, 'hello']


print(a[-2])

print(a[::-1])
# mat = [[1,2,3,4],
#        [5,6,7,8],
#        [3,4,7,3],
#        [2,8,5,3]]
#
# mat_t = list(zip(*mat))
#
# print(mat_t)
#
# for line in mat:
#     print(line)
#
# for line in mat_t:
#     print (list(line))
#
# a = [1, 6, 7, 8, 9]
# b = [10, 60, 70, 80, 90]
# c = [100, 600, 700, 800, 900]
#
# rezult  = list (zip(a, b, c))
# rez = [a,b,c]
# for line in rezult:
#      print(line)
#
# for line in rez:
#     print(line)
#
# for line in rez:
#     print(*line)

# def dontslip (how):
#     if how == 'borring':
#         print('NESPAT!!!!!!')
#     elif how == 'KillMePlease':
#         print('FUUUUUKKKK!')
#
#
#
#
# a = input('Cho ta demaesh?')
# dontslip(a)