// returns a random integer from 1 to 10
public class RandomInteger {
  public static void main(String[] args) {
    //System.out.println(Math.round(Math.floor(Math.random() * 10) + 1));
    System.out.println(Math.round(Math.floor(Math.random() * (10 - 1 + 1)) + 1));
  }
}
