#include<bits/stdc++.h> using namespace std; int main(){ string a; cin>>a; int len=a.size(); for(int i=0;i<len;i=i+3){ cout<<a[i]; } return 0; }