If I sell a stock for a profit that was partially held for less than one year and partially held for greater than one year, how much is the capital gains tax?

Note: For example, 50 shares of the stock have been held for greater then one year and 50 shares have been held for less than a year. If all shares are now sold, what is the capital gains tax rate? Short term or long term?