将下面这篇文章中的错误单词或语法错误进行修正并重新组合成正确的文章（原文中共有5处错误）。


原文：
I went to a the store and brought a apple. But when I got home, I realized I already had one.
纠正后：
I went to the store and bought an apple. But when I got home, I realized I already had one.
Corrected article: 

I went to the store and bought an apple. But when I got home, I realized I already had one.