title: EOF when reading a line in competitive website, namely Code Chef
body: <p>I'm trying to solve a problem using the following code:</p>
  
  <pre><code>X,Y = map(float, input().split())
  
  if X &lt; Y and not X % 5:
      print(Y - X - 0.50)
  else:
      print(Y)
  </code></pre>
  
  <p>This code gives me the desired output when I run using IDLE. However, when I try running this code using an interpreter provided by a competitive programming website, I get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "./prog.py", line 1, in &lt;module&gt;
  EOFError: EOF when reading a line
  </code></pre>
  
  <p>I tried reading the answers of other similar questions, but none of them seemed to work in my case.</p>