AtCoder Beginner Contest 109
翻译中…
Problem Statement
翻译中…
You are given integers $A$ and $B$, each between $1$ and $3$ (inclusive).
翻译中…
Determine if there is an integer $C$ between $1$ and $3$ (inclusive) such that $A \times B \times C$ is an odd number.
翻译中…
Constraints
翻译中…
- All values in input are integers.
$1 \leq A, B \leq 3$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
A B
翻译中…
Output
翻译中…
If there is an integer $C$ between $1$ and $3$ that satisfies the condition, print Yes; otherwise, print No.
翻译中…
样例
Input #1
3 1
Output #1
Yes
Let $C = 3$. Then, $A \times B \times C = 3 \times 1 \times 3 = 9$, which is an odd number.
Input #2
1 2
Output #2
No
Input #3
2 2
Output #3
No
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。