There are different ways you can write these numbers all you do is go by what the number says and think about it.
EX1) 12-5=7
EX2) 12-7=5