//package org.expressme.wireless.game;
import java.util.Random;
class Main {
private static final Random RANDOM = new Random();
/**
* Generate random integer between 0(include) and max(exclude).
*/
public static int nextRandomInt(int max) {
int n = RANDOM.nextInt();
return (n < 0 ? -n : n) % max;
}
/**
* Generate random integer between 0(include) and Integer.MAX_VALUE.
*/
public static int nextRandomInt() {
int n = RANDOM.nextInt();
return n < 0 ? -n : n;
}
}