Production function and input allocation