Gregory gave glass of water to each person at dinner.He put more than 2 ice cubes in each glass.Each glass had the same number of ice cubes.How many cubes could Gregory have used in all?