public static int PosIntValidate(String message) {
		
		int number;
		boolean firstTime = true;
	    do {
	        if(!firstTime) {
	        	System.out.println("\nThat is a negative integer number. Please try again!");
	        }
	        System.out.println(message);
	        while (!scanner.hasNextInt()) // It returns true if the input cannot be interpreted as an integer
	        { 
	            System.out.println("\nThat is not a number. Please try again!\n" + message);
	            scanner.next(); // Waits again for input
	        }
	        
	        number = scanner.nextInt(); // Now that is has been verified, the next token of the input can be scanned as an integer
	        firstTime = false;
	    } while (number <= 0);
		return number;
	}