Question: In Ancient India, which vernacular languages existed alongside Sanskrit?
Sentence: Sanskrit, as the learned language of Ancient India, thus existed alongside the vernacular Prakrits, which were Middle Indo-Aryan languages.
Answer in sentence: yes