#include<bits\stdc++.h> 
using namespace std;
int main(){
	char i[12];
	cin>>i;
	for(int w=2;w<=7;w++){
		cout<<i[w];
	}
	return 0;
}
