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 random.nextInt((maximo - minimo) + 1) + minimo;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgSWRlb25lIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJU3lzdGVtLm91dC5wcmludGxuKGFsZWF0b3JpYXIoMTUwMCwgNTAwMCkpOwoJfQoJcHVibGljIHN0YXRpYyBpbnQgYWxlYXRvcmlhcihpbnQgbWluaW1vLCBpbnQgbWF4aW1vKSB7CgkgICAgUmFuZG9tIHJhbmRvbSA9IG5ldyBSYW5kb20oKTsKCSAgICByZXR1cm4gcmFuZG9tLm5leHRJbnQoKG1heGltbyAtIG1pbmltbykgKyAxKSArIG1pbmltbzsKCX0KfQ==