/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
Random r = new Random();
int[] arr = new int[10];
List<Integer> list = new ArrayList<Integer>();
Map<Integer, Integer> map = new HashMap<Integer, Integer>();
int i = 0;
int count = 0;
while (i <= 9) {
arr[i] = r.nextInt(100) + 1;
i++;
}
for (int j = 0; j < arr.length; j++) {