A comedian is planning to make his show more appealing by telling three jokes at the beginning of each show. He has been booked in a bar for the next three months. If he gives one performance a night, and he never wants to repeat the same set of jokes on any two nights, what is the minimum number of jokes he needs to prepare?