입력
's1s2s3'
숫자 추출 -> 123
출력
1 3 41 123
입력
's1s2'
숫자 추출 -> 12
출력
1 2 3 4 6 12
string = 's1s2s3'
number = ''
for element in string:
if element.isdecimal():
number+=(element)
number = int(number)
arr=[]
for element in range(1,number+1):
if number%element == 0:
arr.append(element)
print(arr)