Set A = new HashSet();

boolean flag = A.add(); 까진 이해가 됐는데 A.add()에 사용자가 입력한 단어를 어떻게 집어넣음? 영상이나 글 찾아봐도 코더가 직접 집어넣는거밖에 없어서..