Calculate 24: remove the same expressions