func solution(_ lottos:[Int], _ win_nums:[Int]) -> [Int] {
var count = 0
var zero = 0
var newLottos = [Int]()
for lotto in lottos {
if lotto == 0 {
zero += 1
} else {
newLottos.append(lotto)
}
}
for newLotto in newLottos {
for win_num in win_nums {
if newLotto == win_num {
count += 1
continue
}
}
}
return [ zero+count>0 ? 7 - (zero + count) : 6 , count>0 ? 7-count : 6]
}