#36199: python AC


aa0980949726@gmail.com (統測戰士)


利用list  y[z:],y[:z]  

答案在下面

-------

-----

 

 

 

--------

 

 

 

 

 

#36200: Re: python AC


aa0980949726@gmail.com (統測戰士)


利用list  y[z:],y[:z]  

答案在下面

-------

-----

 

 

 

--------

 

 

 

 

 


-------------------

 

 

--------------

--

*y[z:],*y[:z]
#36201: Re: python AC


aa0980949726@gmail.com (統測戰士)


利用list  y[z:],y[:z]  

答案在下面

-------

-----

 

 

 

--------

 

 

 

 

 


-------------------

 

 

--------------

n=int(input())
y=[str(x) for x in input().split()]
z=int(input())
print(*y[z:],*y[:z])