Shopee interview question

Create a load-balancing algorithm based on the inputs.