Your task is to implement the function **strstr**. The function takes two strings as arguments(s,x) and locates the occurrence of the string x in the string s. The function returns and integer denoting the first occurrence of the string x .

** **

**Input:**

The first line of input contains an integer T denoting the no of test cases . Then T test cases follow. The first line of each test case contains two strings str and target.

**Output:**

For each test case in a new line output will be an integer denoting the first occurrence of the target string in the string s. Return -1 if no match found.

** **

**Constraints:**

1<=T<=100

1<=length of (s,x)<=1000

**Example:
Input**

2

GeeksForGeeks Fr

GeeksForGeeks For

-1

5

All Is Well | 176 |

Srinivas Chakravarth | 142 |

ioan | 131 |

praveen2809 | 116 |

Diplav Srivastava | 105 |

Lam Ngoc Pham | 405 |

All Is Well | 365 |

Divvya Sinha | 356 |

skull tone | 310 |

Prateek Gole | 309 |

akhayrutdinov | 3805 |

sanjay05 | 3366 |

Michael Riegger | 2014 |

Jasleen Kaur 2 | 2012 |

Quandray | 1933 |