포럼
문제 ICPC00249

J. Judging Moose

설명

When determining the age of a bull moose, the number of tines (sharp points), extending from the main antlers, can be used. An older bull moose tends to have more tines than a younger moose. However, just counting the number of tines can be misleading, as a moose can break off the tines, for example when fighting with other moose. Therefore, a point system is used when describing the antlers of a bull moose.

The point system works like this: If the number of tines on the left side and the right side match, the moose is said to have the even sum of the number of points. So, "an even \(6\)-point moose", would have three tines on each side. If the moose has a different number of tines on the left and right side, the moose is said to have twice the highest number of tines, but it is odd. So "an odd \(10\)-point moose" would have \(5\) tines on one side, and \(4\) or less tines on the other side.

Can you figure out how many points a moose has, given the number of tines on the left and right side?

제약
입력 형식

The input contains a single line with two integers \(\ell\) and \(r\), where \(0 \le \ell \le 20\) is the number of tines on the left, and \(0 \le r \le 20\) is the number of tines on the right.

출력 형식

Output a single line describing the moose. For even pointed moose, output "Even \(x\)" where \(x\) is the points of the moose.

For odd pointed moose, output "Odd \(x\)" where \(x\) is the points of the moose.

If the moose has no tines, output "Not a moose"

예제 1
입력
2 3
출력
Odd 6
예제 2
입력
3 3
출력
Even 6
예제 3
입력
0 0
출력
Not a moose
문제 정보

생성자가 기록되지 않았습니다.

출처 ICPC NCPC 2017

평가 및 의견

J. Judging Moose

개요
출제자 난이도 Unrated 레이팅 미적용 의견 0 / 1 공개 집계 (커뮤니티 난이도, 주요 주제, 품질)는 의견이 충분히 모이면 공개됩니다.

Log in to rate problems.

개별 의견

아직 의견이 없습니다. 자격이 된다면 위 양식에서 가장 먼저 평가해 보세요.

풀이 제출

J. Judging Moose

게스트로 둘러보고 있습니다. 로그인하면 풀이를 제출하고 진행 상황을 확인할 수 있습니다. 로그인하고 제출하기
공개
C++20 Tab 들여쓰기 · Ctrl+/ 주석 토글 · Enter 자동 들여쓰기
1 1 1 0 공백: 4 · UTF-8