#define N_MAX 2e5
#define A_MAX 1e9
int main()
{
	int  n,a = 1,k = 0,i = 0;
	scanf("%d",&n);
	long b[n],temp;
	if(n>=1&&n<=N_MAX)
	{
		for( i = 0;i<n;i++)
		{
			scanf("%d",&temp);
			if(b[i]>A_MAX)
				break;
			if(n%2==0)
			{
				if(i%2!=0)
				{
						b[n/2-a] = temp;
						a++;
				}
				else
					{	
						b[n/2+k] = temp;
						k++;
					}
			}
			else
			{
				if(i%2!=0)
				{
					b[(n+1)/2+k] = temp;
					k++;
				}
				else
				{
					b[(n+1)/2-a] = temp;
					a++;
				} 
			}
		}
		for(i = 0;i<n;i++)
			printf("%d ",b[i]);
	}
	return 0;
}
 