function Main(input) {
    input = input.split('');
    arr = [];
    for(i = 0; i < input.length; i++) {
        arr.push(input[2 * i]);
    }
    console.log(arr.join(''));
    
}
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));