#include using namespace std; using s=string; random_device rnd; mt19937 mt(rnd()); uniform_int_distribution<> r(0, 4); int A; void sum(){ long long Sum = 0; for(int i=0;i> a; Sum += a; } cout << Sum << endl; } int FizzBuzz(){ int B; string S; cin >> B >> S; int p = r(mt); cout << "Hello World!" << endl; return 0; if(p == 0) cout << "Hello World!" << endl; else if(p == 1) cout << A*(A+1)/2 << endl; else if(p == 2) cout << A+B << " " << S << endl; else { for(int i=1;i<=A;i++){ if(i%15 == 0) cout << "FizzBuzz\n"; else if(i%5 == 0) cout << "Buzz\n"; else if(i%3 == 0) cout << "Fizz\n"; else cout << to_string(i) + '\n'; } } } int main(){ int p = r(mt); cin >> A; if(A == 10 || A == 100) sum(); else FizzBuzz(); }