Comparative Advantage Input Problem