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 += ' ' + ai[i]
                } else {
                    s2 += ai[n-i] + ' '
                }
            }

            s2 = s2.slice(0, s2.length-1)

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

            s2 = s2.slice(0, s2.length-1)
            console.log( s2 + s1 )
        }

    }
} );

