for i in range(1000): N=int(input()) for j in range(N):X=input() print("S")