BJK Company purchased 1000 shares of its own outstanding $10 par value common stock for $14 per share and then sold 400 shares six months later for $17 a share. Prepare the journal entries for the purchase of the stock and for the sale.