def FirstAndLast(list1):
	print(list1[0])
	print(list1[-1])
FirstAndLast([1,2,3,4,5,6,7,8,9,10])
problem 2
 def lessthan5(list2,a):
	for i in range(len(list2)):
		if int(list2[i])<a:
			print(list2[i])
a=input('hey please enter the number that byou wnat')
lessthan5([1,1,2,3,5,8,13,44,67],a)
?problem3

def equalnumbers(a,b):
	for i in a:
		for k in b:
			if i == k:
				print(i)

a=[1,3,4,6,8,9]
b=[2,3,4,6,7,8,99]
equalnumbers(a,b)


problem 4

