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