#include using namespace std; int N,i; int main(){ cin>>N; for(i++;i<=N;i++){ if(!(i%('D'-'A'))){ if(!(i%('F'-'A')))cout<<"FizzBuzz"<