Compute transfers to balance account debts | Remitly Interview Question