Odessa interview question

Good to know basic finance