Out of 10 white, 9 black and 7 red balls, the number of ways in which selection of one or more balls can be made, is: