public static void main(String[] args) throws Exception {
		try {
			if (args.length > 0)
				Logger.setActivated(Integer.parseInt(args[0]) != 0);
			if (args.length > 1)
				Logger.setLogSuffix(args[1]);
		} catch (NumberFormatException e) {
		}
		try {
			Reader reader = new Reader();
			while (true) {
				reader.read();
			}
		} catch (Exception e) {
			if (Logger.isActivated())
				Logger.printException(e);
			else
				throw e;
		}
	}