title: I keep getting KeyboardInterrupt
body: <p>Can someone tell me why when I type the following in PyCharm I get:</p>
  
  <pre><code>if name == 'main': 
      n = int(raw_input()) 
      arr = list(set(map(int, raw_input().split()))) 
      arr.sort() 
      print arr[-2]
  </code></pre>
  
  <p>I've tried many different indentations, I'm just using this one as an example because it's the one I got on HackerRank</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
      File "/Users/MacBookAir/PycharmProjects/excercises/exercise.py", line 3, in 
        n = int(input())
    KeyboardInterrupt</p>
  </blockquote>
  
  <p>Process finished with exit code 1</p>