# 1ST Assignmet "Bhargavi Paruvella" DILT_AIML_SPELL-5 batch
# Solution for Q1
n = int(input("Enter a num ", ))
if n % 2== 0:
if n in range(2,5):
print("Not Weird")
if n in range(6,20):
print("Weird")
if n > 20:
print("Not Weird")
if n % 2 !=0:
print("Weird")
Enter a num 77 Weird
# Solution for Q2
Total_students = int(input("Enter total num off student ", ))
Student_scores = map(int, input().split())
Student_scores = list(set(Student_scores))
Student_scores.sort()
print("The runnerup score is ", Student_scores[-2])
Enter total num off student 5 2 3 6 6 5 The runnerup score is 5