AtCoder Beginner Contest 471
A
九还是 Nein
Nine or Nein
AtCoder
⌀ 0
原题
←B →

九还是 NeinAI (CI翻译)

Problem Statement

题目描述

AI (CI翻译)

You are given positive integers $A$ and $B$.

给定正整数 $A$ 和 $B$。AI (CI翻译)

If at least one of the following values is equal to $9$, output Nine; otherwise, output Nein.

如果下列值中至少有一个等于 $9$,输出 Nine;否则输出 Nein。AI (CI翻译)

  • $A + B$
  • $A - B$
  • $A \times B$
  • $A \div B$
  • $A + B$
  • $A - B$
  • $A \times B$
  • $A \div B$
AI (CI翻译)

Constraints

约束条件

AI (CI翻译)
  • $1 \leq A \leq 100$
  • $1 \leq B \leq 100$
  • All input values are integers.
  • $1 \leq A \leq 100$
  • $1 \leq B \leq 100$
  • 所有输入值均为整数。
AI (CI翻译)

Input

输入格式

AI (CI翻译)

The input is given from Standard Input in the following format:

输入从标准输入按以下格式给出:AI (CI翻译)

A B

A B
AI (CI翻译)

Output

输出格式

AI (CI翻译)

Output the answer.

输出答案。AI (CI翻译)

样例

Input #1
16 7
Output #1
Nine
Since $16 - 7 = 9$, output `Nine`.
Input #2
66 7
Output #2
Nein
None of the following values is equal to $9$, so output `Nein`. - $66 + 7 = 73$ - $66 - 7 = 59$ - $66 \times 7 = 462$ - $66 \div 7 = \frac{66}{7}$
Input #3
9 1
Output #3
Nine
Input #4
9 9
Output #4
Nein
题目信息
题号
abc471_a
时间限制
2 s
内存限制
1024 MB

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