title: SyntaxError: unexpected EOF while parsing in Python 3
body: <p>Code :</p>
  
  <pre><code>    n,X=input(),0
      for t in range(int(n)):
          eval(input())
      print(X)
  
  Traceback (most recent call last):
    File "prog.py", line 3, in &lt;module&gt;
      eval(input())
    File "&lt;string&gt;", line 1
      X++
        ^
  SyntaxError: unexpected EOF while parsing
  </code></pre>
  
  <p>Using <code>raw_input</code> instead of <code>input()</code> in the only solution I am able to find but in python 3.x <code>input</code> is <code>raw_input()</code>: <a href="https://stackoverflow.com/questions/954834/how-do-i-use-raw-input-in-python-3-1">How do I use raw_input in Python 3</a></p>
  
  <p>any other method?</p>
  
  <p>FYI; I am trying to solve: <a href="http://codeforces.com/problemset/problem/282/A" rel="nofollow noreferrer">http://codeforces.com/problemset/problem/282/A</a></p>