ListA= [1,2,3,4,5,6,7]
ListA.append(8)
print('8 is added to the list ')
print(ListA)
ListA.remove(4)
print('4 is deleted from the list')
print(ListA)
# Storing the largest number from the list to a variable #
x= max(ListA)
print(x)
# Store the Smallest number from the list to a variable #
y= min(ListA)
print(y)