import java.io.*; 

public class OneToTen
{
  public static void main(String[] argv) throws Exception
  {
    BufferedReader cin; 
    cin = new BufferedReader(new InputStreamReader(System.in)); 

    // read a score from the keyboard (see 5.1) 
    int usersGuess;
    System.out.println("I am thinking of a number between 1-10");
    System.out.print("Try to guess the number [1-10]: "); 
    usersGuess = new Double(cin.readLine()).intValue();  
  
    // see if the guess is right 
    if (usersGuess == 7) 
      System.out.println("You guessed it!"); 
  }
}
