Sovos interview question

Basic math (arithmetic) and logic questions