Retirement tax questions

Hi,

 

I opened my ROTH IRA account in 2015, and I contributed $5500 respectively for 2014 and 2015. I invested all the contribution in different stocks.

 

Now I want to sell some of the stocks to get $5500 back in cash, and withdraw it. May I do so without any taxes and 10% penalty?

 

What I don't understand is when I sell the stocks, I'm going to realize some gains. For example, in 2014 I invested $1000 in Apple, and now if I sell all the Apple shares I can get $1500, so there's a $500 gain. However, the $1500 is under my original contribution, $5500 + $5500.

 

Will the $1500 be considered a $1000 contribution + $500 earning (so the $500 is taxed and penalized)?

Or will it be considered withdrawing from my 2014 contribution?

 

Also, I have received about $150 dividends & interests over the years. They sit in the money market funds. Therefore, I only need to sell $5350 from my portfolio. 

 

Will the $150 be considered earning and subject to taxes & 10% penalty?

Or will it be considered withdrawing $150 from my 2014 contribution?