From ancient times to artificial intelligence