It’s impressive that it managed to understand it at all.
I also read it as math before looking at ChatGPT’s answer. It seems to have been trained on upside-down text and how humans might misinterpret it.
Upside-down letters are probably less common in the training set.