#include<bits/stdc++.h>
using namespace std;
main()
{
map<long ,string>mp,mp1;
mp[0]="Happy";mp[1]="birthday";mp[2]="to";mp[3]="you";
mp[4]="Happy";mp[5]="birthday";mp[6]="to";mp[7]="you";
mp[8]="Happy";mp[9]="birthday";mp[10]="to";mp[11]="Rujia";
mp[12]="Happy";mp[13]="birthday";mp[14]="to";mp[15]="you";
long n;
while(cin>>n)
{
long i,i1,a=0,b=0;
string s;
for(i=1;i<=n;i++)
{
cin>>s;
mp1[i]=s;
}
i=1,i1=0;
while(1)
{
cout<<mp1[i]<<": "<<mp[i1]<<endl;
if(i==n)
{
a=1;
i=0;
}
if(i1==15)
{
b=1;
i1=-1;
}
else b=0;
if(b==1&&a==1)
break;
i++;i1++;
}
}
}
using namespace std;
main()
{
map<long ,string>mp,mp1;
mp[0]="Happy";mp[1]="birthday";mp[2]="to";mp[3]="you";
mp[4]="Happy";mp[5]="birthday";mp[6]="to";mp[7]="you";
mp[8]="Happy";mp[9]="birthday";mp[10]="to";mp[11]="Rujia";
mp[12]="Happy";mp[13]="birthday";mp[14]="to";mp[15]="you";
long n;
while(cin>>n)
{
long i,i1,a=0,b=0;
string s;
for(i=1;i<=n;i++)
{
cin>>s;
mp1[i]=s;
}
i=1,i1=0;
while(1)
{
cout<<mp1[i]<<": "<<mp[i1]<<endl;
if(i==n)
{
a=1;
i=0;
}
if(i1==15)
{
b=1;
i1=-1;
}
else b=0;
if(b==1&&a==1)
break;
i++;i1++;
}
}
}
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন