Individual notes to the 3 people who gave you individual gifts. A group note to the group that contributed, posted in the breakroom with some treat, if you are so inclined. The treats aren't necessary. If the three who didn't contribute didn't even sign the card, you don't need to include their names on the group note. But if they did sign the card, I would put their names on your note.