Prime Land

Problem Number: 
516
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
12 3 14 2 2 3 7 3 8 3 9 3 19 4 12 2 6 3 18 5 100 2 105 2 15 2 18 2 0
Problem Id: 
516