title: BufferedReader space separated input
body: <p>first I'd like to mention that I am not realy experienced in java, and I searched StackOverFlow for a solution to my problem and either I didn't find it or didn't understand the answer, so I am asking now:</p>
  
  <p>i wanted to start working with BufferedReader and didn't find any guide that i understood propely, so i picked up bits from here and there and wrote this example :</p>
  
  <pre><code>BufferedReader input = new BufferedReader (new InputStreamReader (System.in));
  int x = Integer.parseInt(input.readLine());
  String y = input.readLine();
  System.out.println(x);
  </code></pre>
  
  <p>this code worked for the input <code>34</code> then enter then <code>abc</code>, but at what im trying to achieve i need the input <code>34 abc</code> separated by space to be inputed together and that <code>x</code> will get <code>34</code> and <code>y</code> will get <code>abc</code>. this will work when using Scanner, but the problem is Scanner times out the exercise i'm doing because it's slow.</p>
  
  <p>is there any simple way to get those input space separated like it was with Scanner?</p>