링크
import java.util.Arrays; class Solution { public int[] solution(int n, int[] numlist) { return Arrays.stream(numlist).filter(i -> i % n == 0).toArray(); } }