Task: Text Categorization
Input (English): Late in dynastic history, a strong cult of this god was established at Khnum, while this god was sometimes said to be the consort of Astennu. This god was notable for intervening in battles of good and evil to heal the injured party so that neither could overtake the other. This god, who spoke the words that created all of heaven and earth, also gambled with the moon to win five more days to make the year three hundred and sixty five days long, after which he created its calendar. This god, who was sometimes regarded as the monkey Aan, was in charge of deciding when the scales of a heart outweighed the feather of Maat, and he was also ascribed the creation of magic. For ten points, identify this ibis-headed Egyptian deity of writing.
Output (English): Social Science