Terps Corporation has 58,000 shares authorized, 41,000 shares issued, and 8,000 shares of treasury stock. How many shares are outstanding, and how many shares are unissued?