while (true) {

System.out.print("Your Guess: ");
input = scanner.nextInt();

if (LOWER_BOUND <= input && input <= UPPER_BOUND) {

...