class Relatedness implements Comparable<Relatedness> {

	public static int[] intersection(int[] a, int[] b, int aSize, int bSize) {
		int i = 0, j = 0;
		list.clear();
		while ((i < aSize) && (j < bSize)) {
			if (a[i] < b[j]) {
				i++;
				continue;
			}
			if (a[i] > b[j]) {
				j++;
				continue;
			}
			// => (a[i] == a[j])
			list.add(a[i]);
			i++;
			j++;

		}
		return list.toIntArray();
	}

	public  Relatedness();
	protected  Relatedness(int x, int y);

}