package algorithm;import java.util.HashSet;/포켓몬/public class Q42 { public static void main(String\[] args) { System.out.println(solution(new