Iterating with number of operands of different,same etc style with operations of each type