# LIST ENDS

x = [5, 10, 15, 20, 25]


a = x[0]
b = x[-1]
c = [a, b]
# print(a)
# print(b)
print(c)


# Write a program that takes a list of numbers (for example, a = [5, 10, 15, 20, 25]) and makes a new list of only the first and last elements of the given list. For practice, write this code inside a function.
