# enter the first list with elements
list1=['1','2','3','4']
# consider the empty list
list2=[]
# use append() to add a elements to the end of list
list2.append(list1[0])

list2.append(list1[-1])
# print the appended list
print(list2)