import re

for i in ['NaCl', 'H2CO3']:
	print(re.findall('[A-Z][^A-Z]*', i))