PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#CCBCMCHIN0000030. Xếp hạng hai điều kiện (Two-Condition Classification)

HỌC THEO LỘ TRÌNH

Bài tập thuộc lộ trình

1 lộ trình

Xếp hạng hai điều kiện (Two-Condition Classification)

Two-Condition Classification

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

A student has two integer scores aa and bb. A subject is passed if its score is at least 55. Print BOTH if both are passed, ONE if exactly one is passed, or NONE if neither is passed.

Input

Two integer scores aa and bb on one line.

Output

Print exactly one of BOTH, ONE, or NONE.

Subtasks

  • Subtask 1 (20 points): 0≤a,b≤40\le a,b\le4.
  • Subtask 2 (30 points): 0≤a,b≤70\le a,b\le7.
  • Subtask 3 (50 points): 0≤a,b≤100\le a,b\le10.

Examples

Input

5 4

Output

ONE

Explanation

Score 55 meets the threshold and score 44 does not. Exactly one subject is passed, so print ONE.