import csv
f = open('test.csv', 'r', encoding='utf-8')
r = csv.reader(f)
for line in r:
s1, s2 = '', ''
for i in line[1].replace(',', ''):
if i == '3':
s1 += '1'
s2 += '2'
elif i == '4':
s1 += '2'
s2 += '2'
elif i == '6':
s1 += '1'
s2 += '5'
else:
s1 += i
s2 += '0'
print(int(s1), int(s2))
이과장,"333,356,766","S은행",'100-0000-0000-000'
이과장,"5,000,000","S은행",'100-0000-0000-000'
이과장,"3,200,000","S은행",'100-0000-0000-000'
이과장,"3,300,000","S은행",'100-0000-0000-000'
이과장,"5,300,000","S은행",'100-0000-0000-000'