class Box {

	private int length = 1;
	private int width = 1;
	private int height = 1;

	public Box(int l, int w, int h) {
		length = l;
		width = w;
		height = h;
	}

	public int getLength() {
		return length;
	}

	public int getWidth() {
		return width;
	}
	
	public int getHeight() {
		return height;
	}

	@Override
	public String toString() {
		String str = String.format("[%d,%d,%d]",
                        getLength(),
                        getWidth(),
                        getHeight());

		return str;
	}

	@Override
	public boolean equals(Object obj) {
		if(!(obj instanceof Box)) {
			return false;
		}
		
		Box that = (Box) obj;

		if(this.height == that.height &&
		this.width == that.width &&
		this.length == that.length) {
			return true;
		}
		else {
			return false;
		}
	}
}

