title: Find the Runner-Up Score >> Explanation
body: <blockquote>
    <p>Given the participants' score sheet for your University Sports Day,
    you are required to find the runner-up score. You are given scores.
    Store them in a list and find the score of the runner-up.</p>
    
    <p>Input Format</p>
    
    <p>The first line contains N. The second line contains an array   of N
    integers each separated by a space.</p>
  </blockquote>
  
  <p>I found this solution </p>
  
  <pre><code>n = int(input())
  
  nums = map(int, input().split())    
  print(sorted(list(set(nums)))[-2])
  </code></pre>
  
  <p>can someone explain me why we are using map function here ? </p>
  
  <p>Also if someone can explain me this line : </p>
  
  <pre><code>nums = map(int, input().split())
  </code></pre>