A. 九还是不九 / Nine or Nein

    传统题 1000ms 256MiB

九还是不九 / Nine or Nein

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Problem Statement

You are given positive integers AA and BB.

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

  • A+BA + B
  • ABA - B
  • A×BA \times B
  • A÷BA \div B

Constraints

  • 1A1001 \leq A \leq 100
  • 1B1001 \leq B \leq 100
  • All input values are integers.

Input

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

  • AA BB

Output

Output the answer.

16 7
Nine

Since 167=916 - 7 = 9, output Nine.

66 7
Nein

None of the following values is equal to 99, so output Nein.

  • 66+7=7366 + 7 = 73
  • 667=5966 - 7 = 59
  • 66×7=46266 \times 7 = 462
  • 66÷7=66766 \div 7 = \frac{66}{7}
9 1
Nine
9 9
Nein

ABC471 赛后模拟赛 ✅

未参加
状态
已结束
规则
IOI
题目
7
开始于
2026-8-18 12:00
结束于
2026-8-25 12:00
持续时间
168 小时
主持人
参赛人数
65