Shell interview question

Basic math question and safety