Circle Dance

Problem Number: 
3 227
Type of Problem: 
Problem code: 
Problem Category: 
Input: 
Critical Input
0
0
Critical Input: 
3 6 2 4 3 4 4 -1 1 -1 6 -1 5 -1 5 2 5 3 5 4 5 5 -1 1 -1 11 2 5 3 5 4 5 5 10 6 10 1 10 8 10 9 10 10 7 11 -1 7 9
Random Input: 
Flag: 
0
Restrict Problem Hints: 
0
Restrict Problem Inputs: 
0
Problem Id: 
3227