200 shares of a stock converted to 150 shares of another stock. whaet to use as cost basis

I purchased 200 shares of a stock which converted to 150 shares of another stock when first company was acquired by second company. How do I calculate cost basis to use when selling 150 shares?