with open("../examples/ros_bio9_SUBS.txt") as f:
file = f.read().rstrip()
sequence = file.split("\n")
string = sequence[0]
substr = sequence[1]
i = 0
location = ''
while i < len(string):
if string[i:i+len(substr)] == substr:
location = location + str(i+1) + ' '
i += 1
print(location)