num=int(input("enter a number:"))
if(num%2!=0):
print(num,"weird")
else:
if(num>=2 and num<=5):
print(num,"not weird ")
elif(num>=6 and num<=20):
print(num,"weird")
elif(num>20):
print(num,"not weird")
enter a number:4 4 not weird
list= [2, 3, 4, 6, 6]
list.sort(reverse= True)
largest=list[0]
for ele in list[1:]:
if ele < largest:
print(ele)
break
4