process.stdin.setEncoding( 'utf8' );

process.stdin.on( 'readable', function() {
    var chunk = process.stdin.read();
    var inputLineArr;

    if ( chunk !== null ) {
        inputLineArr = chunk.split('\n');

        if( inputLineArr[inputLineArr.length-1] == '' )
            inputLineArr.pop();

        var n = inputLineArr[0]
        var ai = inputLineArr[1].split(' ').map( function( elem ) {
            return parseInt(elem);
        } )

        var s1 = [],
            s2 = []

        if ( n % 2 === 0 ) {
            for ( var i = 0; i < n; i++ ) {
                if ( i % 2 === 0 ) {
                    s1.push( ai[i] )
                } else {
                    s2.push( ai[n-i] )
                }
            }

            console.log( s2.join(' ') + ' ' + s1.join(' ')  )
        } else {
            for ( var i = 0; i < n; i++ ) {
                if ( i % 2 !== 0 ) {
                    s1.push( ai[i] )
                } else {
                    s2.push( ai[n-i-1] )
                }
            }

            console.log( s2.join(' ') + ' ' + s1.join(' ')  )
        }

    }
} );

