#import <stdio.h>
int main(){
    char s[100002] = {'\0'};
    scanf("%s",s);
    unsigned long n = strlen(s);
    for (int i=0;i<n;i++) {
        if(i%2==0) {
            printf("%c",s[i]);
        }
    }
}
