Problem:
Score : 100 points

Problem Statement

In some other world, today is December D-th.

Write a program that prints Christmas if D = 25, Christmas Eve if D = 24, Christmas Eve Eve if D = 23 and Christmas Eve Eve Eve if D = 22.

Constraints

22 \leq D \leq 25

D is an integer.

Input

Input is given from Standard Input in the following format:

D

Output

Print the specified string (case-sensitive).

Sample Input 1

25

Sample Output 1

Christmas

Sample Input 2

22

Sample Output 2

Christmas Eve Eve Eve

Be sure to print spaces between the words.

Solution in Scala (2.11.7) (judge verdict: Accepted)


object Main extends App {

  import scala.io.StdIn._
  import scala.math._

  println(
    readLine.trim.toInt match {
      case 22 ⇒ "Christmas Eve Eve Eve"
      case 23 ⇒ "Christmas Eve Eve"
      case 24 ⇒ "Christmas Eve"
      case 25 ⇒ "Christmas"
      case _ ⇒ ???
    }
  )
  implicit class Extenion[T](val value :T){
    def also(func: T ⇒ Unit): T = {
      func(value)
      value
    }
    def let[R](func: T ⇒ R): R = func(value)
  }
}