YOU SAID:
i went to the store to buy apples
INTO JAPANESE
私はリンゴを買うために店に行った
BACK INTO ENGLISH
I went to the store to buy an apple.
INTO JAPANESE
私はリンゴを買いに店に行った。
BACK INTO ENGLISH
I went to the store to buy an apple.
You should move to Japan!