names = ['Bartek', 'Maciej', 'Berenika', 'Witek', 'Emil']

message = "That was a great party yesterday, " + names[0] + "."
messagea = "That was a great party yesterday, " + names[1] + "."
messageb = "That was a great party yesterday, " + names[2] + "."
messagec = "That was a great party yesterday, " + names[3] + "."
messaged = "That was a great party yesterday, " + names[-1] + "."

print(message)
print(messagea)
print(messageb)
print(messagec)
print(messaged)




