Calculating Comparative Advantage Using Inputs