A firm determines its profit by subtracting______ from _____ .