코드
import re
from collections import Counter
def solution(s) :
s = Counter(re.findall('\d+', s))
return list(map(int, sorted(s, key=lambda k: -s[k])))
import re
from collections import Counter
def solution(s) :
s = Counter(re.findall('\d+', s))
return list(map(int, sorted(s, key=lambda k: -s[k])))