URI Online Judge | 3141

Age Doubt

By Roger Eliodoro Condras, UFSC-ARA BR Brazil

Timelimit: 1

It is not just Tobias who has a birthday these days. Mine also occurs at that time and every year I always have the same question, what is my age?

I entered college just before the age that people normally enter and it is common for people to be a little scared when I say how old I am. They always think I was older. This only increases my age crisis and my doubts about my current age.

I imagine that I am not the only person who takes some time thinking about the answer to the question “how old are you?”, So to help me and these people who also suffer from this age doubt, I ask that you write a program that gives the person's current day and date of birth tell how old he is.


The problem entry has 3 lines.

The first line has an N string (3 \(\leq\) |N| \(\leq\) 50) with the person's name and is formed only by lowercase or uppercase letters (‘A’ - ‘Z’, ‘a’ - ‘z’) and space characters.

The second line has a string A with the current date in the format "DD/MM/YYYY" and the last line contains a string B with the date of birth, also in the format "DD/MM/YYYY". The date of birth is guaranteed to occur before the current date and both dates are valid between 01/01/0001 and 12/31/9999.


Your program should produce a line with the message "Você tem X anos N." (without quotes), where X is the person's age and N is their name. If the current date coincides with the person's birthday, you should print "Feliz aniversario!" (without quotes) one line before printing the answer.

Input Samples Output Samples


Voce tem 20 anos Roger.


Feliz aniversario!
Voce tem 22 anos Tobias.