using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YukiCoder { public class SumAndProduct { static void Main() { var InputData = Console.ReadLine().Split(' ').ToList(); if ((InputData[0] == "0" && InputData[1] == "0") || (InputData[0] == "2" && InputData[1] == "2")) { Console.WriteLine("E"); return; } if (InputData.Where(value => value == "0" || value == "1").Count() > 0) { Console.WriteLine("S"); return; } Console.WriteLine("P"); } } }