Revolut interview question

solve this problem with little info