public static void main(String[] args) {
		for (String str : INPUT) {
			try {
				Revex revex = new Revex(str);
				Pattern pattern = Pattern.compile(str);
				
				System.out.println(str);
				
				for (int i = 0; i < 10; i++) {
					String s = revex.generate();
					Matcher m = pattern.matcher(s);
					System.out.println(m.find() + ":\t" + s);
				}
				
				System.out.println();
			}
			catch (Exception ex) {
				System.err.println();
				ex.printStackTrace(System.err);
			}
		}
	}