#Create a list of first and last 5 elements 
# where the values are square of numbers between 1 and 30 (both included).


l = list()
for i in range(1,6):
	l.append(i**2)
for i in range(26,31):
	l.append(i**2)    
print(l)
	

