101090: [AtCoder]ABC109 A - ABC333

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

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.


Sample Input 1

3 1

Sample Output 1

Yes

Let $C = 3$. Then, $A \times B \times C = 3 \times 1 \times 3 = 9$, which is an odd number.


Sample Input 2

1 2

Sample Output 2

No

Sample Input 3

2 2

Sample Output 3

No

Input

题意翻译

### 题目描述 给出两个正整数 $a, b$ 且 $1 \le a, b \le 3$,判断是否有正整数 $c$ 满足 $1 \le c \le 3$ 且 $a \times b \times c$ 是奇数。若有输出 "Yes",否则输出 "No"。 ### 输入格式 输入两个数 $a, b$。 ### 输出格式 如果有数 $c$ 满足条件则输出 "Yes",否则输出 "No"。

加入题单

上一题 下一题 算法标签: