A - пишется когда слово начинается с согласный букв. an- когда слово всегда начинается гласным. Например: 1) atoy was lying on the floor..... adress which costs $50.
2) AnElephant was taking shower with its own trunk... animergency help was needed to the lost animals which got injured.