The opportunity cost is 400 hamburgers because this is what Joe is giving up to make hot dogs.