#include <string>
#include <iostream>
using namespace std;
int main()
{
string str1,str6;
string str2( "Fizz" );
string str3( "Buzz" );
string str4( "Seven" );
string str5( "Eleven" );
int a=3, b=5, c=7, d=11;
for( int i=1; i<101; i++)
{
if(i==a && i==b)
{
if(i==c && i==d)
{
str6 = str2+str3+str4+str5;
a+=3, b+=5, c+=7, d+=11;
}
else if(i==c)
{
str6 = str2+str3+str4;
a+=3, b+=5, c+=7;
}
else if(i==d)
{
str6 = str2+str3+str5;
a+=3, b+=5, d+=11;
}
else
{
str6 = str2+str3;
a+=3, b+=5;
}
}
else if(i==a && i==c)
{
if(i==b && i==d)
{
str6 = str2+str3+str4+str5;
a+=3, b+=5, c+=7, d+=11;
}
else if(i==b)
{
str6 = str2+str3+str4;
a+=3, b+=5, c+=7;
}
else if(i==d)
{
str6 = str2+str4+str5;
a+=3, c+=7, d+=11;
}
else
{
str6 = str2+str4;
a+=3, c+=7;
}
}
else if(i==a && i==d)
{
if(i==b && i==c)
{
str6 = str2+str3+str4+str5;
a+=3, b+=5, c+=7, d+=11;
}
else if(i==b)
{
str6 = str2+str3+str5;
a+=3, b+=5, d+=11;
}
else if(i==c)
{
str6 = str2+str4+str5;
a+=3, c+=7, d+=11;
}
else
{
str6 = str2+str5;
a+=3, d+=11;
}
}
else if(i==b && i==c)
{
if(i==a && i==d)
{
str6 = str2+str3+str4+str5;
a+=3, b+=5, c+=7, d+=11;
}
else if(i==a)
{
str6 = str2+str3+str4;
a+=3, b+=5, c+=7;
}
else if(i==d)
{
str6 = str3+str4+str5;
b+=5, c+=7, d+=11;
}
else
{
str6 = str3+str4;
b+=5, c+=7;
}
}
else if(i==b && i==d)
{
if(i==a && i==c)
{
str6 = str2+str3+str4+str5;
a+=3, b+=5, c+=7, d+=11;
}
else if(i==a)
{
str6 = str2+str3+str5;
a+=3, b+=5, d+=11;
}
else if(i==c)
{
str6 = str3+str4+str5;
b+=5, c+=7, d+=11;
}
else
{
str6 = str3+str5;
b+=5, d+=11;
}
}
else if(i==c && i==d)
{
if(i==a && i==b)
{
str6 = str2+str3+str4+str5;
a+=3, b+=5, c+=7, d+=11;
}
else if(i==a)
{
str6 = str2+str4+str5;
a+=3, c+=7, d+=11;
}
else if(i==b)
{
str6 = str3+str4+str5;
b+=5, c+=7, d+=11;
}
else
{
str6 = str4+str5;
c+=7, d+=11;
}
}
else if(i==a)
{
str6 = str2;
a+=3;
}
else if(i==b)
{
str6 = str3;
b+=5;
}
else if(i==c)
{
str6 = str4;
c+=7;
}
else if(i==d)
{
str6 = str5;
d+=11;
}
if(str6.size()==0)
{
cout << i << " " << i << endl;
}
else
{
cout << i << " " << str6 << endl;
}
str6 = str1;
}
return 0;
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CiAgICBzdHJpbmcgc3RyMSxzdHI2OwoJc3RyaW5nIHN0cjIoICJGaXp6IiApOwoJc3RyaW5nIHN0cjMoICJCdXp6IiApOwoJc3RyaW5nIHN0cjQoICJTZXZlbiIgKTsKCXN0cmluZyBzdHI1KCAiRWxldmVuIiApOwoJaW50IGE9MywgYj01LCBjPTcsIGQ9MTE7Cglmb3IoIGludCBpPTE7IGk8MTAxOyBpKyspCgl7CgkJaWYoaT09YSAmJiBpPT1iKQoJCXsKCQkJaWYoaT09YyAmJiBpPT1kKQoJCQl7CgkJCQlzdHI2ID0gc3RyMitzdHIzK3N0cjQrc3RyNTsKCQkJCWErPTMsIGIrPTUsIGMrPTcsIGQrPTExOwoJCQl9CgkJCWVsc2UgaWYoaT09YykKCQkJewoJCQkJc3RyNiA9IHN0cjIrc3RyMytzdHI0OwoJCQkJYSs9MywgYis9NSwgYys9NzsKCgkJCX0KCQkJZWxzZSBpZihpPT1kKQoJCQl7CgkJCQlzdHI2ID0gc3RyMitzdHIzK3N0cjU7CgkJCQlhKz0zLCBiKz01LCBkKz0xMTsKCQkJfQoJCQllbHNlCgkJCXs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