Problem:
Score : 100 points

Problem Statement

AtCoDeer the deer found two positive integers, a and b.
Determine whether the product of a and b is even or odd.

Constraints

1 ≤ a,b ≤ 10000

a and b are integers.

Input

Input is given from Standard Input in the following format:

a b

Output

If the product is odd, print Odd; if it is even, print Even.

Sample Input 1

3 4

Sample Output 1

Even

As 3 × 4 = 12 is even, print Even.

Sample Input 2

1 21

Sample Output 2

Odd

As 1 × 21 = 21 is odd, print Odd.

Solution in Scala (2.11.7) (judge verdict: Runtime Error)

object Main extends App {
  val n = io.StdIn.readLine().toInt
  val list: collection.mutable.ListBuffer[Array[Int]] = collection.mutable.ListBuffer[Array[Int]](Array(0,0,0))
  (1 to n).foreach { i =>
    list += io.StdIn.readLine().split(' ').map(_.toInt).toArray
  }  
  def f(t:Int, x: Int, y: Int): Boolean = {
    if(t == 0) (x == 0 && y == 0)
    else if(Math.abs(x) + Math.abs(y) > t) false
    else (f(t - 1, x + 1, y) || f(t - 1, x - 1, y) || f(t - 1, x, y + 1)  || f(t - 1, x, y - 1)) 
  }
  list.zip(list.tail)
  val list2 = list.zip(list.tail).map{case (x1, x2) => (x2(0)-x1(0), x2(1)-x1(1), x2(2)-x1(2))}
  print(if(list2.forall{case (t, x, y) => f(t, x, y)}) "Yes" else "No")
}