List list = new ArrayList<>(); Map map = new HashMap<>(); int key = 1, value = 1, counter = 0; for(value = 1; va