Find places where a string P is found within a text T. Print all indices of T where P found. The indices of T start with 0.
In the first line, a text T is given. In the second line, a string P is given.
Print an index of T where P found in a line. Print the indices in ascending order.
aabaaa aa
0 3 4
xyzz yz
1
abc xyz
The output should be empty.