You went shopping for classroom supplies. You bought 255 blue pens, 100 red pens, and 189 green pens. How many pens did you buy in all?