#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e16;
const ll mod = 1000000007;
#define rep(i, n) for (int i = 0; i < (ll)(n); i++)

int main() {
  ll n; cin >> n;
  if (n-1) {
    ll a, b; cin >> a >> b;
    cout << a + b << endl;
  } else {
    cout << "Hello World" << endl;
  }
}
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
    string S;
    cin>>S;
    int w;
    cin>>w;
    int a=S.size();
  	if(w!=1){
    for(int i=1; i<a+1; i++){
        if(i%w==1){
            cout<<S[i-1];
        }
    }
    }
  else{
rep(i,S.size()){
  cout<<S[i];
}
  }
    cout<<""<<endl;
}
