Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON SOLUTION PLEASE GIVE QUICKLY THANKS Numerous local and international recreational runners were eager to take part in this year's Zagreb Marathon! It is an
PYTHON SOLUTION PLEASE GIVE QUICKLY THANKS
Numerous local and international recreational runners were eager to take part in this year's Zagreb Marathon! It is an already traditional race 42125 meters long. A curious statistical info is that this year every single contestant managed to complete the race, except one. Since marathons are all about taking part, help the organizers figure out, based on the list of registered contestants and ranking list, the identity of the contestant that did not complete the race. Input Specification The first line of input contains the integer N(1N105), the number of contestants. Each of the following N lines contains the names of registered contestants. The additional N1 lines contain the names of contestants in the order which they completed the race. The contestants' names will consist of at least one and at most twenty lowercase letters of the English alphabet. The contestants' names won't necessarily be unique. Sample Input 1 Sample Output 1 Sample Input 2 Sample Output 2 Sample Input 3 4 mislav stanko mislav ana stanko ana mislav Sample Output 3 mislav
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started