Literature as a reflection of collective memory