import java.util.Scanner; /** * Replace this JavaDoc comment for the purpose of this class */ class Solution { /** * Gets data from standard input */ private Scanner input; /** * Start the execution of the solution * @param args Command line arguments */ public static void main(String args[]) { Solution solution = new Solution(); solution.run(); } /** * Run the solution. This method is called from main() */ public void run() { // Create object to read data from standard input input = new Scanner(System.in); int min = input.nextInt(); int max = input.nextInt(); int randomValue = (int)(min + Math.random() * (max - min + 1)); System.out.println(randomValue); // Close the standard input input.close(); } }