t = int(input().strip())
for _ in range(t):
    n = int(input().strip())+1
    print( 's' + 'h'*n )