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=n1ccccc1
[O-][N+]c1ccccc1
Cn1cccc1
[nH]1cccc1
C=[N+]=[N-]
C[N+](=O)[O-]
CN(=O)=O
C=[N]=[N]
Oc1ncccc1
C.C
C1CCCCCC=1
c1[nH]ccc1
O=c1[nH]cccc1
"""
import string
smilesStrings = []
for line in string.split(smilesInput):
smilesStrings.append(string.strip(line))
|