Algebraic Functions That Barista Uses