class SortableInt implements Sortable {
	int i;

	SortableInt(int i) {
		this.i = i;
	}

	public String toString() {
		return i + "";
	}

	public int compare(Sortable s) throws IncompatibleTypeException {
		if (s instanceof SortableInt)
			return i - ((SortableInt) s).i;
		else
			throw new IncompatibleTypeException(this, s);
	}
}
