public static void main(String[] args) {
		DisruptorDemo demo = new DisruptorDemo();
		Scanner in = new Scanner(System.in);
		while(true){
			String input = in.nextLine();
			if (input.equalsIgnoreCase("bye")) {
				demo.halt();
				break;
			}
			demo.disruptorPass(Integer.valueOf(input));
		}
	}