example : solution the output here can be either the total number of cages or the total revenue .