There are S sheep and W wolves. If the number of wolves is greater than or equal to that…
- User
There are S sheep and W wolves.
If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.
If the wolves will attack the sheep, print
unsafe; otherwise, printsafe.Constraints
- 1 \leq S \leq 100
- 1 \leq W \leq 100 Input
Input is given from Standard Input in the following format:
S W
Output
If the wolves will attack the sheep, print
unsafe; otherwise, printsafe.Examples
Input
4 5
Output
unsafe
Input
100 2
Output
safe
Input
10 10
Output
unsafe
Assistant
python# Read input values S, W = map(int, input().split()) # Determine if wolves attack and print the result print("unsafe" if W >= S else "safe")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.