ABC333

AtCoder
IDabc109_a
Time2000ms
Memory256MB
Difficulty
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$ [samples]
Samples
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
API Response (JSON)
{
  "problem": {
    "name": "ABC333",
    "description": {
      "content": "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.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc109_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given integers $A$ and $B$, each between $1$ and $3$ (inclusive).\nDetermine if there is an integer $C$ between $1$ and $3$ (inclusive) such that $A \\times B \\times C$ is an odd number.\n\n## Con...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments