Your company, [Congo Pizza](http://interesting-africa-facts.com/Africa-Landforms/Congo-Rainforest-Facts.html), is the second-largest online frozen pizza retailer. You own a number of international warehouses that you use to store your frozen pizzas, and you need to figure out how many crates of pizzas you can store at each location.

Congo recently standardized its storage containers: all pizzas fit inside a *cubic crate, 16-inchs on a side*. The crates are super tough so you can stack them as high as you want.

Write a function `box_capacity()` that figures out how many crates you can store in a given warehouse. The function should take three arguments: the length, width, and height of your warehouse (in feet) and should return an integer representing the number of boxes you can store in that space.

For example: a warehouse 32 feet long, 64 feet wide, and 16 feet high can hold 13,824 boxes because you can fit 24 boxes across, 48 boxes deep, and 12 boxes high, so `box_capacity(32, 64, 16)` should return `13824`.

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def box_capacity(length, width, height):
	

Solutions:
def box_capacity(length, width, height):
	return length * 12 // 16 * (width * 12 // 16) * (height * 12 // 16)


def box_capacity(l, w, h):
	return l * 3 // 4 * (w * 3 // 4) * (h * 3 // 4)


def box_capacity(length, width, height):
	length_capacity = length * 12 // 16
	width_capacity = width * 12 // 16
	height_capacity = height * 12 // 16
	return length_capacity * width_capacity * height_capacity


from functools import reduce
BOX_DIM = 16

def box_capacity(*dims):
	return reduce(int.__mul__, (d * 12 // BOX_DIM for d in dims))


def box_capacity(x, y, z):
	return int(x * 0.75) * int(y * 0.75) * int(z * 0.75)


box_capacity = lambda *ds, r=__import__('functools').reduce: r(int.__mul__, (i * 12 // 16 for i in ds))


def box_capacity(length, width, height):
	length_i = 12 * length
	width_i = 12 * width
	height_i = 12 * height
	crate = 16
	L = length_i // crate
	W = width_i // crate
	H = height_i // crate
	return L * W * H


def box_capacity(l, w, h):
	return int(l * 0.75) * int(w * 0.75) * int(h * 0.75)


def box_capacity(length, width, height):
	box_length = length * 12 // 16
	width_box = width * 12 // 16
	height_box = height * 12 // 16
	return box_length * width_box * height_box