Yes, you will enter both into AACOMAS per their instructions but if you fill it out appropriately and took the same course (or a course that covered the same material with = or > # of course hours) the grade will be replaced.
Just remember that if you retake a C and make an F the second time around, the F is what counts. It's the most RECENT retake, not the best grade, that counts. 😉