1471 - Tobor and Numbers

Time Limit : 1 Second

Memory Limit : 128 MB

Special Judge

Submission: 278

Solved: 96

Description









 



After the hard tasks, It’s the easy time for Y.G.Tobor and Y.D.I.



Isha is a friend of Y.D.I, as he thinks Tobor is smart too, he give Tobor a problem. This problem can describe as follow:



Tell N continuous numbers, where these N numbers are integers in the range of [-1000,1000], and the sum of these N numbers is zero.



Note:Two numbers are considered continuous iff the absolute value of difference between these two numbers is only 1.



Tobor is so smart that she solve this problem in just 10 days, and how goes on you?


Input


 



There are multiple cases, you need process to EOF.



Every line contains an integer N which is an even number in the range of (0, 50000000]


Output


 



Print case number first. Print “Yes” and these N numbers if these numbers are exits, print “No” otherwise. No blank lines between cases. See Sample Output.



The totally output size is always less than 512Kb.


sample input
8
2
sample output
Case 1:
Yes
1 2 1 0 -1 -2 -1 0
Case 2:
No
hint

 

For more information, please download the problems in zip or pdf.

Any question please mail to dy0013@163.com.

source
idy0013@gmail.com
© 2015 HUST ACMICPC TEAM. All Right Reserved.