A,B=map(int,input().split()) C=A*B-A-B print("SEP"[(C>0)+(C>=0)])