AtCoder Beginner Contest 164
A
Sheep and Wolves
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

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, print safe.

翻译中…

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, print safe.

翻译中…

样例

Input #1
4 5
Output #1
unsafe
There are four sheep and five wolves. The number of wolves is not less than that of sheep, so they will attack them.
Input #2
100 2
Output #2
safe
Many a sheep drive away two wolves.
Input #3
10 10
Output #3
unsafe
题目信息
题号
abc164_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。