Given a text and a pattern. Find whether the pattern exist in the text or not. If it is present print "found" without quotes else print "not found"
The first line of input contains an integer T denoting the number of test cases. Each test case consist of a string in 'lowercase' only in a
Print "found" or "not found" in a separate line.
1 ≤ T ≤ 30
1 ≤ |s| ≤ 100
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.