title: python program showing error invalid literal
body: <p>This is program is showing error
      <code>Traceback (most recent call last):
        File "solution.py", line 4, in &lt;module&gt;
         temp=int(input())
          ValueError: invalid literal for int() with base 10: '1 2'
        Input (stdin)</code></p>
  
  <pre><code>n=int(input())
  list1=[]
  for _ in range(n):
      temp=int(input())
      list1.append(temp)
  tupl=tuple(list1)    
  p=hash(tupl)
  print(p)
  </code></pre>
  
  <p>can anyone tell me what is the syntax error?</p>