Geek is an Audiophile. He has a list of N different audios and he wishes to listen to M audios. He asks his friend Ted to create a playlist that satisfies two conditions.