import java.util.HashMap;
class Solution {
public int solution(String[][] clothes) {
int answer = 1;
HashMap<String, Integer> map = new HashMap<>();
for(String[] clothe : clothes){
String key = clothe[1];
map.put(key, map.getOrDefault(key,0)+1);
}
for(String key : map.keySet()){
answer *= (map.get(key) + 1);
}
answer = answer -1;
return answer;
}
}
// 의상이름 + 의상종류
//HashMap? kwy +value