#include<bits/stdc++.h>

using namespace std;

#define dbg(x) (cout<<#x<<" = "<<(x)<<'\n')

typedef long long int lld;
const int INF = (1LL << 30) - 1;
const lld LINF = (1LL << 62) - 1;
const int NMAX = 1e6;

char S[NMAX + 5];

int main() {
      cin.sync_with_stdio(false);

      #ifndef ONLINE_JUDGE
      freopen("input.txt", "r", stdin);
      freopen("output.txt", "w", stdout);
      #endif

      while (scanf("%s", S) + 1)
            printf("%s", S);
      printf("\n");

      return 0;
}