title: cannot find symbol with input.nextInt()
body: <p>I ran into a problem when making a rock paper scissors game, for some reason the code is not accepting it when I use <code>input.nextInt()</code> </p>
  
  <pre><code>    // Rock Paper Scissors Game
  
      int Rock = -1;
      int Paper = 0;
      int Scissors = 1;
      int Max = 1;
      int Min = -1;
  
      { int computer = ((int)(Math.random() * ((Max - Min) + 1))) + Min;
  
      System.out.println("Input -1 for Rock 0 for Paper and 1 for Scissors!");
      {
      int player = input.nextInt();
      return player;
      }
      if(player == computer); {
          System.out.println("Tie");
      }
      }
  </code></pre>
  
  <p>This is the full error code</p>
  
  <pre><code>Compilation error   time: 0 memory: 0 signal:0
  Main.java:45: error: cannot find symbol
          int player = input.nextInt();
                       ^
    symbol:   variable input
    location: class Ideone
  </code></pre>