static int inputIntOld1() {
		int temp = -1;
		while (temp == -1) {
			if (scan.hasNextInt()) {
				temp = scan.nextInt();
			} else {
				System.out.println("not an int");
				scan.next();
			}
		}
		return temp;
	}