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 JavaScript (node.js v5.12) (judge verdict: Wrong Answer)

  ans= Number.MAX_SAFE_INTEGER;
  l =require('fs').readFileSync('/dev/stdin','utf8').split("\n");
  k=Number(l[0].split(" ")[1]) 
  l.shift();
  l=l.map(n => Number(n)).sort((a,b)=> a-b);
  for(a=0;a<l.length-k+1;a++){
    dif=l[a+k-1]-l[a];
    if(dif < ans) ans = dif;
  }
  console.log(ans);