You are given a 0-indexed string with no more than
lowercase characters. Find the index of the first entire occurrence of a substring
, or output
NOT THERE
if is not a substring of
.
Constraints
Input Specification
The first line contains the string .
The second line contains the string
.
Output Specification
The one and only line of output contains the index of the first entire occurrence of in
, or
NOT THERE
if is not present.
Sample Input
mycomputerisbetterthanyourshahaha
idisagree
Sample Output
NOT THERE
Comments