If neither Google Docs nor Microsoft Word suit you, the note-taking app Obsidian also provides a smooth math-writing ...
The way we say these numbers isn’t the order in which we write them as digits. For the number sixteen, 'six' is the ones word and 'teen' is the tens word. We say the ones first, then tens.