public static void main(String s[])
	{
		String X = "ABCABBA";
		String Y = "CBABACA";
		BULCS bu = new BULCS(X, Y);
		for (int i = 0; i < X.length(); i++)
		{
			for (int j = 0; j < Y.length(); j++)
				System.out.print(bu.getLength(i, j) + " ");
			System.out.println();
		}

		/*
		 * for (int i = 0; i < X.length(); i++)
		 * {
		 * for (int j = 0; j < Y.length(); j++)
		 * 
		 * System.out.print(bu.getLCS(i, j) + " ");
		 * System.out.println();
		 * }
		 */

		System.out.println(bu.getLCS(X.length() - 1, Y.length() - 1));
	}