Problem:
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

Solution in C# (Mono 4.6.2.0) (judge verdict: Accepted)

using System;
class Program {
  static void Main(string[] args) {
    Program pg = new Program();
    int[] nums = pg.Ret_frm_str(Console.ReadLine().Split(' '));
    int a_b = nums[0] * nums[1];
    for (int cnt = 1; cnt < 4; cnt++) {
      if (a_b * cnt % 2 == 1) {
        Console.WriteLine("Yes");
        break;
      } else {
        if (cnt == 3) {
          Console.WriteLine("No");
        }
      }
    }
  }
  
  private int[] Ret_frm_str (string[] str) {
    return new int[] { int.Parse(str[0]), int.Parse(str[1]) };
  } 
}