Flow Traders interview question

didnt make it past mental math