names = input().split(", ")
grades = input().split()
goal = input()
for idx, el in enumerate(grades):
if el == goal:
print(names[idx])
break
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
names = input().split(", ")
grades = input().split()
goal = input()
for idx, el in enumerate(grades):
if el == goal:
print(names[idx])
break