open System let No441 () = let IN = Console.ReadLine().Split(' ') let A = Numerics.BigInteger.Parse <| IN.[0] let B = Numerics.BigInteger.Parse <| IN.[1] let sum = A + B let pro = A * B if sum > pro then printfn "S" else if sum < pro then printfn "P" else printfn "E" () No441 ()