Ubiquitous Religions

Problem Number: 
10 583
Type of Problem: 
Problem Category: 
Input: 
Critical Input
0
0
Critical Input: 
10 9 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 10 4 2 3 4 5 4 8 5 8 3 3 1 1 2 2 3 3 3 3 1 1 1 1 1 1 20 20 12 4 6 11 17 7 10 7 7 17 10 16 14 16 19 15 9 17 10 12 9 19 9 15 5 15 19 11 4 3 10 13 18 2 8 18 17 8 12 17 4 3 1 2 3 4 1 3 0 0
Random Input: 
Problem Id: 
10583