#include<iostream> using namespace std; int main(){ string x; cin>>x; int c=x.length(); for(int i=0;i<c;i+=3){ cout<<x[i]; } return 0; }