title: How to input integer numbers with space in between
body: <p>I have to input integer numbers and do operation on each of them. Each integer will be separated by a space between them,  and the number of integers are not defined,</p>
  
  <p>So input may be 1 23 45 80 or 21 32.</p>
  
  <p>I tired using cin,  it didn't work,  as on space it breaks. </p>