Try to come out with the least losses