import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long numA = sc.nextInt(); long numB = sc.nextInt(); long sum = numA+numB; long kake = numA*numB; if(sum>kake){ System.out.println("S"); }else if(sum