print("Enter the no donors available") a=int(input()) name=[0]*a email=[0]*a mob=[0]*a bg=[0]*a for i in range(a): print("Enter the details of donor",i+1) name[i]=str(input()) email[i]=str(input()) mob[i]=str(input()) bg[i]=str(input()) print("Enter the required blood group") bgr=str(input()) f=0 for i in range(a): if(bgr==bg[i]): print("Details of matched donor") f=1 print(name[i]) print(email[i]) print(mob[i]) print(bg[i]) if(f==0): print("No donor with required blood group")