#include #include #include #define llint long long using namespace std; string s; int main(void) { cin >> s; if(s[0] > '0' && s[0] <= '9'){ int a = atoi(s.c_str()), b; if(cin >> b){ cin >> s; if(s[0] > '0' && s[0] <= '9'){ llint sum = b + atoi(s.c_str()); for(int i = 0; i < a-2; i++) cin >> b, sum += b; cout << sum << endl; return 0; } cout << a+b << " " << s << endl; return 0; } for(int i = 1; i <= a; i++){ if(i % 15 == 0) cout << "FizzBuzz" << endl; else if(i % 3 == 0) cout << "Fizz" << endl; else if(i % 5 == 0) cout << "Buzz" << endl; else cout << i << endl; } cout << a*(a+1)/2 << endl; return 0; } cout << "Hello World!" << endl; return 0; }