using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void Main(String[] args) { int q = Convert.ToInt32(Console.ReadLine()); for(int a0 = 0; a0 < q; a0++){ string s = Console.ReadLine(); // your code goes here string T="hackerrank"; bool found=false; char[] t=T.ToCharArray(); char[] a=s.ToCharArray(); int counter=0; for(int i=0;i