Corona Virus Alert

Submit solution

Points: 5
Time limit: 1.0s
Memory limit: 256M

Problem type

Yes, you guessed it, this problem is about COVID-19 disease.

A lot of programmers got the idea of creating a virus spread simulator. We will create ours as well. In our simulator, we will represent our population with a string of lowercase characters. Each person is represented by a random character, but people infected by the coronavirus are represented by the character 'c'.

The goal of this problem is to know whether our generated population does have an infected person or not.

Given a generated population, report whether it does have an infected person or not. If the population contains an infected person print ''Stay Home'', otherwise print ''Safe'' (without quotes).

Input Specification

The input consists of a lowercase characters string \(1 \le |s| \le 26\), our generated population, with |s| the length of the string s.

Output Specification

Print one line that contains ''Stay Home'' if the population does have an infected person, or ''Safe'' otherwise.

Sample Input


Sample Output


Sample Input


Sample Output

Stay Home


  • 0
    Juxt_aya2000  commented on March 25, 2022, 3:49 p.m.

    it worked thanks anyways

  • 0
    Juxt_aya2000  commented on March 25, 2022, 2:59 p.m.

    but i have a question, if the length of my string s > 26, what i should do ???

  • 0
    Juxt_aya2000  commented on March 25, 2022, 2:58 p.m.

    i had fun while trying to find the right answer and giving my brain a littlle challenge :)

  • 0
    ilyassozo  commented on Nov. 14, 2020, 8:50 p.m.

    but if the length of our string s > 26, what we should do?

    • 0
      hamzaelkaiche  commented on Nov. 15, 2020, 3:24 a.m.

      the input string length is guaranteed to be in the range [1, 26] as the input specification says.