#include<bits/stdc++.h> using namespace std; int n; char x[100]; int main(){ cin>>x; for(int i=0;i<=strlen(x);i=i+3){ cout<<x[i]; } return 0; }