A, B = map(int, input().split()) N = A + B print(str(N)+" "+"S")