#include #include #include #include using namespace std; typedef long long ll; int main(){ string s; getline(cin, s); bool judge = true; int sp = 0; for(char c : s) judge &= isdigit(c), sp += (c==' '); if(!judge && sp == 0){ cout << "Hello World!" << endl; return 0; } if(sp == 1){ int t = 0; for(;;t++) if(s[t] == ' ') break; int a = stoi(s.substr(0, t)), b = stoi(s.substr(t+1)); string k; getline(cin, k); cout << a+b << " " << k << endl; return 0; } string k = ""; if(getline(cin, k)){ sp = 0; for(int i = 0; i < k.length(); i++) if(k[i] == ' ') sp++; if(sp == 0){ int n = stoi(s); ll ans = stoll(k); for(int i = 1; i < n; i++) cin >> s, ans += stoll(s); cout << ans << endl; }else{ ll ans = 0; int l = 0, r = 0; while(r < k.length()){ while(r < k.length() && k[r] != ' ') r++; ans += stoll(k.substr(l, r-l)); l = r+1; r++; } cout << ans << endl; } }else{ for(int i = 1; i <= stoi(s); i++){ string ret = ""; if(i%3 == 0) ret += "Fizz"; if(i%5 == 0) ret += "Buzz"; if(ret == "") ret = to_string(i); cout << ret << endl; } } return 0; }