Hide

Problem A
Hipp Hipp Húrra

Languages en is
/problems/hipphipphurra/file/statement/en/img-0001.jpg
Image from flickr.com
It’s not just Forritunarkeppni Framhaldsskólanna that’s celebrating their anniversary this year. Shouldn’t we congratulate the others as well?

Input

The first line contains the name of a person celebrating their birthday, the name only contains English letters and no whitespace. The second line contains a single integer, how old they are now.

Output

If the person is now $x$ years old, print $x$ lines. Each line should contain Hipp hipp hurra, name!, where name is the person’s name.

Stigagjöf

Group

Points

Constraints

1

25

The age is exactly $20$

2

25

The age is at most $20$

3

50

The age is at most $10\, 000$

Sample Input 1 Sample Output 1
Arnar
3
Hipp hipp hurra, Arnar!
Hipp hipp hurra, Arnar!
Hipp hipp hurra, Arnar!
Sample Input 2 Sample Output 2
Forritunarkeppnin
20
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!
Hipp hipp hurra, Forritunarkeppnin!

Please log in to submit a solution to this problem

Log in