Maybe farming is another marker and would probably happen before writing.
Or farming would necessitate writing. Gotta keep track of the growing season, how many bails of hay, etc. That would require an understanding of the seasons (stars and constellations and the sun) and some basic math.
Wonder which happened first — match or writing? At the same time?
Math. The moment Og realized his neighbor Zug had 3 more pelts than Og did, it was on like Donkey Kong.
"And the LORD God commanded the man, “You are free to eat from any tree in the garden; but you must not eat from the tree of the knowledge of good and evil, for when you eat of it you will surely die.”
'Here are eleventy billion trees just don't eat from this ONE'. Math.
Taxes. I'm pretty sure on this, but I haven't done any research!)