import sys input = sys.stdin.readline for tests in range(1000): n=int(input()) if n==-1: break LIST=[list(map(int,input().split())) for i in range(n)] print("S",flush=True)