#include constexpr int INF = 2147483647; constexpr long long int INF_LL = 9223372036854775807; constexpr int MOD = 1000000007; using namespace std; typedef long long int ll; typedef unsigned long long int ull; random_device rnd; int main(int argc, char* argv[]) { string a; cin >> a; int N; try { N = stoi(a); } catch (...) { //aが文字列だった cout << "Hello World!" << endl; return 0; } vector b(N); if (cin.eof()) { //FizzBuzz or sum if (rnd() % 2) { //sum cout << N * (N + 1) / 2 << endl; } else { for (int i = 0; i < N; i++) { //fizzbuzz if (i % 3 == 0 && i % 5 == 0) { cout << "FizzBuzz" << endl; } else if (i % 3 == 0) { cout << "Fizz" << endl; } else if (i % 5 == 0) { cout << "Buzz" << endl; } else { cout << i << endl; } } } } for (int i = 0; i < N; i++) { if (i == 2 && cin.eof()) { //No9001 cout << N + stoi(b[0]) << " " << b[1] << endl; } cin >> b[i]; } int ans = 0; for (int i = 0; i < N; i++)ans += stoi(b[i]); cout << ans << endl; }