InteLogix interview question

The math was crazy