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