There are various ways to calculate intermediate values, but then throw them away, in a one-liner: