By Jessica Dagostini, beecrowd Brazil
In the Natalícia family, the realization of the Secret Santa on the Christmas eve is traditional. Every year the whole family gets together to exchange gifts. It's a time of great fun and relaxation.
This year the youngest member of the family, Jocelina, decided to make the moment even more fun: she proposed that all participants put on a list 3 suggestions for gifts. From this list, she thought in a program that inserted a name N and a gift P, the program returns if the person has hit or not the present for his secret friend.
But Jocelina does not know much of programming, and ended up needing help to make this program. You, being taken by the christmas spirit, accepted the challenge!
Input Sample | Output Sample |
5 iara mochila estojo lapis adelar sapato camisa carteira jessica agenda bolsa brincos jocelina xicara meias perfume elaine sandalia sapatilha camiseta jessica carteira jessica agenda iara sandalia elaine mochila iara mochila adelar carteira |
Tente Novamente! Uhul! Seu amigo secreto vai adorar o/ Tente Novamente! Tente Novamente! Uhul! Seu amigo secreto vai adorar o/ Uhul! Seu amigo secreto vai adorar o/ |