AKUNA CAPITAL interview question

Generally easy question about validating and then processing some data according to some rules.