import java.util.*;
class Ideone {
public static void main
(String[] args
) { System.
out.
println(aleatoriar
(1500,
5000)); }
public static int aleatoriar(int minimo, int maximo) {
return (int)(lCDateTime.getTimeInMillis() % (maximo - minimo + 1) + minimo);
}
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgSWRlb25lIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJU3lzdGVtLm91dC5wcmludGxuKGFsZWF0b3JpYXIoMTUwMCwgNTAwMCkpOwoJfQoJcHVibGljIHN0YXRpYyBpbnQgYWxlYXRvcmlhcihpbnQgbWluaW1vLCBpbnQgbWF4aW1vKSB7CgkgICAgQ2FsZW5kYXIgbENEYXRlVGltZSA9IENhbGVuZGFyLmdldEluc3RhbmNlKCk7CiAgICAgICAgcmV0dXJuIChpbnQpKGxDRGF0ZVRpbWUuZ2V0VGltZUluTWlsbGlzKCkgJSAobWF4aW1vIC0gbWluaW1vICsgMSkgKyBtaW5pbW8pOwoJfQp9