#!/bin/python3 import sys z = int(input().strip()) for a0 in range(z): s = input().strip() # your code goes here q='hackerrank' si = 0 qi = 0 count_found = 0 # print("Looking for "+q[0]) while qi