title: Code exit status 255
body: <p>I have written the below code for getting the only unique element in a given integer array.</p>
  
  <pre><code>def lonelyinteger(a):
      for x in a:
          answer = a.count(x)
          if(a.count(x) &lt; 2)
              answer=x
      return answer
  if __name__ == '__main__':
      a = input()
      b = map(int, raw_input().strip().split(" "))
      print lonelyinteger(b)
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <blockquote>
    <p>File "solution.py", line 5
        if(a.count(x) &lt; 2)
                         ^
    SyntaxError: invalid syntax </p>
    
    <p>Exit Status
    255</p>
  </blockquote>
  
  <p>Please tell me where did I miss</p>