bool isInInterval(int num) { return num >= 100 && num <= 10000; }