title: How to process raw data (in python)?
body: <p>***I'm not explaining this well so hopefully this edit makes more sense: basically I have to write code that will work for a ton of test cases, the input below is just an example. So I can't manually enter the input into my function</p>
  
  <p>Say I have the following input:</p>
  
  <pre><code>    0
      4
      0,2,2,3
  </code></pre>
  
  <p>and I need to generate some sort of output like</p>
  
  <pre><code>    1
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>What I mean is, if I'm normally given a problem, I can just define a function and then input the values manually, but how do I read raw data (perform a series of functions/operations on the data)?</p>
  
  <p>(For the assignment I am supposed to receive input on STDIN -> and print correct output on STDOUT</p>