Problem C
Sliding
You have been sent some data from the genetics department of
the university. They ask you to find where in the genetic code
of their mutated flies a particular mutation can be found.
Since these flies are quite heftily genetically altered, their
DNA has 26 possible acids rather than 4 and thus the genetic
code is given by a string consisting of lower case English
letters. The mutation that should be found is also given as a
string of lower case English letters. We say that the mutation
Input
The first line of the input contains the genetic data
Output
Print all locations in
Sample Input 1 | Sample Output 1 |
---|---|
abccba bac |
1 4 |