Corona Virus Alert


Submit solution

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

Author:
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

azuz

Sample Output

Safe

Sample Input

covid

Sample Output

Stay Home

Comments


  • 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.