title: Read a sequence of numbers in a String
body: <p>I have to make a program that receives a sequence of numbers, stores them in an (int)array and prints in reverse order. The input is composed of two lines: The first line contains an integer indicating the amount of integers and the second line contains integers separated by a blank space to be printed reverse order, like the following example:</p>
  
  <p>Input:</p>
  
  <p>4</p>
  
  <p>2 5 45 10</p>
  
  <p>Output:</p>
  
  <p>10 45 5 2</p>
  
  <p>The problem is that I can't store each integer in a different position of the array, since they are only separated by a blank space (instead of [ Enter ] ). How could I solve this problem?? (sorry for the English, it's not my native language).</p>