@brainteasers: 40 is the correct