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.



Sample input:
25


Sample output:
Christmas

Submission status: Runtime Error

Solution code:
n,k = map(int,input().split())
l = []
for _ in range(n):
    a = int(input())
    l.append(a)

ans = 10**9
l.sort()
for i in range(n-k+1):
    tmp = max(l[i:k+i]) - min(l[i:k+i])
    if tmp < ans:
        ans = tmp

print(ans)

Submission status: Runtime Error

Solution code:
D=int(input())
print("Christmas","Eve"*(25-D)

Submission status: Runtime Error

Solution code:
d=int(input())
print("Christmas"," Eve"*(25-D)

Submission status: Runtime Error

Solution code:
d=int(input())
print("Christmas"," Eve"*(25-D))

Submission status: Runtime Error

Solution code:
D=int(input())
if D=25 :
  print("Christmas")
elif D=24 :
  print("Christmas Eve")
elif D=23 :
  print("Christmas Eve Eve")
else :
  print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D=input()
D=int(d)

if D==25:
    print("Christmas")

if D==24:
    print("Christmas Eve")

if D==23:
    print("Christmas Eve Eve")

if D==22:
    print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
 print('Christmas' + ' Eve' * (25 - int(input())))

Submission status: Runtime Error

Solution code:
n,k = map(int,input().split())
h = sorted([int(input()) for _ in range(n)])
print(min(h[j+k-1]-h[j] for j in range(n-k+1)))

Submission status: Runtime Error

Solution code:
import math

n, k = list(map(int, input().split()))
h = [int(input()) for _ in range(n)]
h.sort()
ans = math.inf
for i in range(n - k + 1):
    ans = min(ans, h[i + k - 1] - h[i])

print(ans)

Submission status: Runtime Error

Solution code:
def main():
 D = int(input().split())
 if D == 25:
     print('Christmas')
 elif D == 24:
     print('Christmas Eve')
 elif D == 23:
     print('Christmas Eve Eve')
 else:
     print('Christmas Eve Eve')
main()

Submission status: Runtime Error

Solution code:
n=int(input())
p=[int(input()) for i in range(n)]
print(int(sum(p)-(max(p)/2)))

Submission status: Runtime Error

Solution code:
N=int(input())
P=[int(input()) for i in range(N)]
print(sum(P)-max(P)//2)

Submission status: Runtime Error

Solution code:
P=[int(input()) for i in range(int(input()))]
print(sum(P)-max(P)//2)

Submission status: Runtime Error

Solution code:
d = int(input())
if(d == 22):
  print(Christmas Eve Eve Eve)
elif(d == 23):
  print(Christmas Eve Eve)
elif(d == 24):
  print(Christmas Eve)
else:
  print(Christmas)

Submission status: Runtime Error

Solution code:
s="Christmas"
for i in range(25-int(input()):
  s += " Eve"
print(s)

Submission status: Runtime Error

Solution code:
def i():
	return int(input())
def i2():
	return map(int,input().split())
def s():
	return str(input())
def l():
	return list(input())
def intl():
	return list(int(k) for k in input().split())

d = i()
if d == 25:
	print("Christmas")
elif d = 24:
	print("Christmas Eve")
elif d == 23:
	print("Christmas Eve Eve")
else:
	print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
N,K=map(int,input().split())
lst=[]
for i in range (N):
    h=int(input())
    lst.append(h)
lst.sort()
ans=100000000
for i in range (N-K+1):
    ans=min(ans,lst[i+K-1]-lst[i])
print(ans)

Submission status: Runtime Error

Solution code:
if a == 22:
    print("Christmas Eve Eve Eve")
elif a == 23:
    print("Christmas Eve Eve")
elif a == 24:
    print("Christmas Eve")
elif a == 25:
    print("Christmas")

Submission status: Runtime Error

Solution code:
if a == "22":
    print("Christmas Eve Eve Eve")
elif a == "23":
    print("Christmas Eve Eve")
elif a == "24":
    print("Christmas Eve")
elif a == "25":
    print("Christmas")

Submission status: Runtime Error

Solution code:
D=input()
if D=25 :
    print('Christmas')
elif D=24 :
    print('Christmas Eve')
elif D=23 :
    print('Christmas Eve Eve')
elif D=22 :
    print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
n, k = list(map(int, input().split()))
h = [int(input()) for i in range(n)]
h.sort()

ans = 1e+12
for i in range(k-1, n):
  ans = min(ans, h[i] - h[i-k+1])
  
print(ans)

Submission status: Runtime Error

Solution code:
D = int(input().split())
print("Christmas" + "Eve" * (25 - D))

Submission status: Runtime Error

Solution code:
D = int(input().split())
print("Christmas" + "Eve" * (25 - D)

Submission status: Runtime Error

Solution code:
N, K = list(map(int, input().split()))

h = []
for i in range(N):
    h.append(int(input()))

h.sort()

minDistance = 10 ** 9
for i in range(0, N - K):
    if h[i + K - 1] - h[i] < minDistance:
        minDistance = h[i + K - 1] - h[i]

print(minDistance)

Submission status: Runtime Error

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))

N, K =mi()
A = [ii() for _ in range(N)]

tmp = float('inf')
for i in range(N-K+1):
    if A[i+K-1] - A[i] < tmp:
        tmp = A[i+K-1] - A[i]
print(tmp)

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3

def main():
    *N, = map(int, open(0).read().split())
    h = N[2:]
    K = N[1]
    N = N[0]

    D = [[] for i in range(0, N)]
    for i in range(0, N):
        for j in range(0, N):
            if not i == j:
                D[i].append(abs(h[i] - h[j]))
        D[i].sort()

    ans = max(h) - min(h)
    for i in range(0, N):
        tmp = sum(D[i][0:K - 1])
        if tmp < ans:
            ans = tmp

    print(ans)


main()

Submission status: Runtime Error

Solution code:
print("Christmas", "Eve"*(25-int(input()))

Submission status: Runtime Error

Solution code:
n, k = map(int,input().split(" "))
trees = []
for i in range(n):
    trees.append(int(input()))

trees.sort()
min_val = trees[k-1] - trees[0]
for i in range(1, n - k + 1):
    min_val = min(abs(trees[n - k + 1] - trees[i]), min_val)
    
print(min_val)

Submission status: Runtime Error

Solution code:
d = int(input())
dict = {'25':'Christmas','24':'Christmas Eve',
        '23':'Christmas Eve Eve',
        '22':'Christmas Eve Eve Eve'}

print(dict[d])

Submission status: Runtime Error

Solution code:
D = int(input())
if D == 25:
  print('Christmas')
elif D == 24:
  print('Christmas Eve')
elif D == 23:
  print('Christmas Eve Eve') 
elif D == 22:
  print('Christmas Eve Eve Eve')
 D = int(input())
if D == 25:
  print('Christmas')
elif D == 24:
  print('Christmas Eve')
elif D == 23:
  print('Christmas Eve Eve') 
elif D == 22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
print(["Christmas Eve Eve Eve", "Christmas Eve Eve", "Christmas Eve", "Christmas"][int(input())+22])

Submission status: Runtime Error

Solution code:
D=int(input())
if D=25:
  a='Christmas'
elif D=24:
  a='Christmas Eve'
elif D=23:
  a='Christmas Eve Eve'
else:
  a='Christmas Eve Eve Eve'
print(a)

Submission status: Runtime Error

Solution code:
d = int(intput())
if d==25:
  print("Christmas")
elif d==24:
  print("Christmas Eve")
elif d==23:
  print("Christmas Eve Eve")
else:
  print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:


def solve():

    D = int(input())

    if D == 25:
        print(`Christmas`)
    else if D == 24:
        print(`Christmas Eve`)
    else if D == 23:
        print(`Christmas Eve Eve`)
    else if D == 22:
        print(`Christmas Eve Eve Eve`)


if __name__ == "__main__":
    solve()

Submission status: Runtime Error

Solution code:
D = int(input())
D -= 25
print 'Christmas',end=''
while D<0:
    print 'Eve',end=''
    D += 1

Submission status: Runtime Error

Solution code:
D = input()

today = "Christmas"

x = 25 - D

today += x * " Eve"

print(today)

Submission status: Runtime Error

Solution code:
a=int(input())
print(Christmas+" Eve"*(25-a))

Submission status: Runtime Error

Solution code:
a=int(input())
print(Christmas+"Eve"*(25-a))

Submission status: Runtime Error

Solution code:
a=int(input())
print(christmas+"Eve"*(25-a))

Submission status: Runtime Error

Solution code:
N = int(input())
num = N+1
price = []
for i in range (1,num):
  price.append(int(input()))
else:
  exp = max(price)//2
  total = sum(price) - exp
  print(total)

Submission status: Runtime Error

Solution code:

d = input()

if d == "25":
    print("Christmas")
elif d == "24":
    print("Christmas Eve")
elif d == "23":
    print("Christmas Eve Eve")
    elif d == "22"
    print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D = input()
 
if D == "25":
	print("Christmas")
elif D === "24":
	print("Christmas Eve")
elif D == "23":
	print("Christmas Eve Eve")
elif D == "22":
	print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D = input()

if D == "25":
	print("Christmas")
elif D === "24":
	print("Christmas Eve")
elif D == "23":
	print("Christmas Eve Eve")
elif D == "22":
	print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D = input()

if D == "25"
	print("Christmas")
elif D == "24"
	print("Christmas Eve")
elif D == "23"
	print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D=int(input())
if D==25:
    print('Christmas')
elif D==24:
    print('Christmas Eve')
elif D=23:
    print('Christmas Eve Eve')
else:
    print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
d = int(input())

if d == 22:
  print("Christmas Eve Eve Eve")
elif d == 23:
  print("Christmas Eve Eve")
elif d == 24:
  print("Christmas Eve")
elif d == 25:
  print("Christmas")
else:
  break

Submission status: Runtime Error

Solution code:
N = int(input())
list = [int(input())for _ in range(N)]
print(round(sum(list) - max(list)/2))

Submission status: Runtime Error

Solution code:
num = input()
if(num==25):
  return print("Christmas")
elif(num==24):
  return print("Christmas Eve")
elif(num==23):
  return print("Christmas Eve Eve")
elif(num==22):
  return print("Christmas Eve Eve Eve")
else:
  break

Submission status: Runtime Error

Solution code:
n = int(input())
p = [int(input()) for _ in range(n)]
print(sum(p) - int((max(p)/2)))

Submission status: Runtime Error

Solution code:
n = int(input())
T,A = map(int,input().split())
h = list(map(int,input().split()))
l =[]
for i in range(n):
  a = T - h[i]*0.006
  b = int(abs(a-A))
  l.append(b)
c = l.index(min(l))
print(c+1)

Submission status: Runtime Error

Solution code:
a = int(input())
if a = 22:
  print('Christmas Eve Eve Eve')
elif a = 23:
  print('Christmas Eve Eve')
elif a = 24:
  print('Christmas Eve')
else:
  print('Christmas')

Submission status: Runtime Error

Solution code:
n = int(input())
ls = [int(input()) for i in range(n)]
list.sort(ls,reverse=True)
ls[0] = ls[0]//2
a = 0
for i in range(n):
    a += ls[i]
print(a)

Submission status: Runtime Error

Solution code:
D = int(input())
if D =22:
  print("Christmas Eve Eve Eve")
  
elif D = 23:
  print("Christmas Eve Eve")
  
elif D = 24:
  print("Christmas Eve")
  
elif D = 25:
  print("Christmas")

Submission status: Runtime Error

Solution code:
n,k=map(int,input().split())
a=[]
for i in range(n):
  a.append(int(input()))
b=sorted(a)
print(b[n-1]-b[n-k])

Submission status: Runtime Error

Solution code:
a=int(input())
b="Christmas"
for i in range(25-a)
	b+=" Eve"
print(b)

Submission status: Runtime Error

Solution code:
a=int(input())
b="Christmas"
for i in range(25-a)
	b+=" Eve"
  print(b)

Submission status: Runtime Error

Solution code:
N = int(input())
p=[int(input()) for _ in range(N)]
#print(p)
p.sort()

_sum=sum(p)-int(p[-1]/2)
print(_sum)

Submission status: Runtime Error

Solution code:
n = int(input())
s = "Christmas"

a = 25 - n
  s += " Eve" * a

print(s)

Submission status: Runtime Error

Solution code:
N,K = map(int,input().split())
h_list = [int(input()) for i in range(N)]
h_list.sort()
result = []
print(min([h_list[i+K-1]-h_list[i] for i in range(N-K+1)]))

Submission status: Runtime Error

Solution code:
n = int(input())
l = [int(input()) for _ in range(n)]
print(sum(l)-max(l)/2)

Submission status: Runtime Error

Solution code:
D = int(input())
if D == 22:
    print("Christmas Eve Eve Eve")
if D == 23:
    print("Christmas Eve Eve")
if D == 24:
    prtin("Christmas Eve")
if D == 25:
    print("Christmas")

Submission status: Runtime Error

Solution code:
a=int(input())
a=25-a
print("Christmas ", end="")
for i in a:
  print("Eve ", end="")

Submission status: Runtime Error

Solution code:
D =int(input())
print('Christmas' if D==25 else 'Christmas Eve' if D==24 else 'Christmas Eve Eve' if D==23 else 'Christmas Eve Eve Eve' if D==22)

Submission status: Runtime Error

Solution code:
print('Christmas' + ' Eve' * int(input()) % 5)

Submission status: Runtime Error

Solution code:
print('Christmas' - int(input()) % 5 * ' Eve')

Submission status: Runtime Error

Solution code:
def main():
    D = int(input())

    if D = 22:
        print('Christmas Eve Eve Eve')
    if D = 23:
        print('Christmas Eve Eve')
    if D = 24:
        print('Christmas Eve')
    if D = 25:
        print('Christmas')

main()

Submission status: Runtime Error

Solution code:
b=｛25:"Christmas",24:"Christmas Eve",23:"Christmas Eve Eve",22:"Christmas Eve Eve Eve"｝
print(b[int(input())]

Submission status: Runtime Error

Solution code:
b=｛25:"Christmas",24:"Christmas Eve",23:"Christmas Eve Eve",22:"Christmas Eve Eve Eve"｝
print(b[int(input())])

Submission status: Runtime Error

Solution code:
a=int(input())
b=｛25:"Christmas",24:"Christmas Eve",23:"Christmas Eve Eve",22:"Christmas Eve Eve Eve"｝
print(b[int(input())])

Submission status: Runtime Error

Solution code:
D=int(input())
if D=25:
  print('Christmas')
elif D=24:
  print('Christmas Eve')
elif D=23:
  print('Christmas Eve Eve')
elif D=22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
a=int(input())
if a=25:
  print('Christmas')
elif a=24:
  print('Christmas Eve')
elif a=23:
  print('Christmas Eve Eve')
elif a=22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
a=int(input())
if a=25:
  print('Christmas')
elif a=24:
  print('Christmas Eve')
elif a=23:
  print('Christmas Eve Eve')
elif a=22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
D = input()
dic = {22:'Christmas Eve Eve Eve', 23:'Christmas Eve Eve', 24:'Christmas Eve', 25:'Christmas'}
print(dic[D])

Submission status: Runtime Error

Solution code:
d int(input())
print('Christmas'+' Eve'*(25-d))

Submission status: Runtime Error

Solution code:
dict={25:'Christmas',24:'Christmas Eve',23:'Christmas Eve Eve',22:'Christmas Eve Eve Eve'}
print(dict[input()])

Submission status: Runtime Error

Solution code:
dict={25:'Christmas',24:'Christmas Eve',23:'Christmas Eve Eve',22;'Christmas Eve Eve Eve'}
print(dict[input()])

Submission status: Runtime Error

Solution code:
D = input()
D = int(D)

if D == 25:
  print('Christmas')

else D <= 25:
  D = 25 - D
  print ('Christmas' + D * 'Eve')

Submission status: Runtime Error

Solution code:
d = int(input())
print("Christmas" if d=25 else "Christmas Eve" if d =24 else "Christmas Eve Eve" if d=23 else "Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D = int(input())

print('Christmas' if D == 25 else 'Christmas Eve' if D == 24 else 'Christmas Eve Eve' else 'Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
n,k = map(int,input().split())
h = []
for i in range(n):
    h.append(int(input()))
h.sort()
h_max = 0
h_min = 0
r = 0
ans = []
#print(h)
for i in range(r,n):
    if n - r < k: 
        break
    h_max = max(h[r:k+r])
    #print(h[r:k])
    h_min = min(h[r:k+r])
    ans.append(h_max - h_min)
    r += 1
print(min(ans))

Submission status: Runtime Error

Solution code:
d = int(input())
a=['Christmas']
for i in range(25-d):
  a.append('Eve')
print(' '.join())

Submission status: Runtime Error

Solution code:
d = int(input())
a=['Christmas']
for i in range(25-d):
  a.append('Eve')
print(' '.join

Submission status: Runtime Error

Solution code:
d = int(input())
a=［'Christmas'］
for i in ranage(25-d):
  a.append('Eve')
print(' '.join(a))

Submission status: Runtime Error

Solution code:
print("Christmas"+" Eve"*(25-int(input()))

Submission status: Runtime Error

Solution code:
D = input()

if D == 25:
    print("Christmas")
elif D == 24:
    print("Christmas Eve")
elif: D == 23:
    print("Christmas Eve Eve")
elif: D == 22:
    print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D = input()

if D == 25:
    print("Christmas")
elif D==24:
    print("Christmas Eve")
elif: D==23:
    print("Christmas Eve Eve")
elif: D ==22:
    print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
D = int(input())
if D = 25:
  print('Christmas')
elif D = 24:
  print('Christmas Eve')
elif D = 23:
  print('Christmas Eve Eve')
elif D = 22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
D = input()
date_dict = {"25": "Christmas", 
"24": "Christmas Eve",
"23": "Christmas Eve Eve", 
"22": "Christmas Eve Eve Eve"}

print(date_dict(D))

Submission status: Runtime Error

Solution code:
D = int(input())
date_dict = {25: "Christmas", 
24: "Christmas Eve",
23: "Christmas Eve Eve", 
22: "Christmas Eve Eve Eve"}

print(date_dict(D))

Submission status: Runtime Error

Solution code:
l = [int(input()) for _ in range(int(input))]
print(sum(l)-int(max(l))//2)

Submission status: Runtime Error

Solution code:
n=int(input())
if n==22:
  print(Christmas Eve Eve Eve)
elif n==23:
  print(Christmas Eve Eve)
elif n==24:
  print(Christmas Eve)
else:
  print(Christmas)

Submission status: Runtime Error

Solution code:
N,K = map(int,input().split())

H = sorted([int(input()) for i in range(N)])

diff_min = H[2] - H[0]

for i in range(0,N - K + 1):

  diff = H[i + K - 1] - H[i]
  if diff <= diff_min:
    diff_min = diff
    
print(diff_min)

Submission status: Runtime Error

Solution code:
nx = input()
nx = nx.split()
n = int(nx[0])
x = int(nx[1])
burgers = [None] * 51
burgers[0] = "P"
burgers[1] = "BPPPB"
burgers[2] = "BBPPPBPBPPPBB"
i = 3
while i<=n:
  burgers[i] = "B" + burgers[i-1] + "P" + burgers[i-1] + "B"
  i+=1
result = burgers[n][:x-1]
print(result.count("P"))

Submission status: Runtime Error

Solution code:
print(' '.join('Christmas','Eve'*(25-int(input()))))

Submission status: Runtime Error

Solution code:
d=int(input())
if d=25:
  print('Christmas') 
elif d=24:
  print('Christmas Eve')
elif d=23:
  print('Christmas Eve Eve')
else :
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
d=int(input())
if d=25:
  print('christmas')
    
elif d=24:
  print('Christmas Eve')

elif d=23:
  print('Christmas Eve Eve')
else :
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
d=input()
if d=25:
  print('christmas')
    
elif d=24:
  print('Christmas Eve')

elif d=23:
  print('Christmas Eve Eve')
else :
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
pasok = int(input())
chris = "Christmas "
eve = "Eve "

print(chris + eve*(25-pasok)

Submission status: Runtime Error

Solution code:
N = int(input())
p = [int(input()) for _ in range(N)]

print(sum(p) - int(max(p)/2))

Submission status: Runtime Error

Solution code:
d=int(input())
print(" ".join(["Christmas", *["Eve"]*(25-d)]))

Submission status: Runtime Error

Solution code:
print('Christmas'+' Eve'*(25-int(input)))

Submission status: Runtime Error

Solution code:
d=int(input())
print('Christmas' if d==25 else 'Christmas Eve' if d==24 else 'Christmas Eve Eve' d==23 else 'Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
d=int(input())
print('Christmas' if d==25 'Christmas Eve' elif d==24 'Christmas Eve Eve' else 'Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
print(“Christmas” + “ “.join([“Eve”] * int(input())))

Submission status: Runtime Error

Solution code:
if __name__ == "__main__":
    N = int(input())
    data = []
    data = [int(input()) for _ in range(N)]
    print(int(sum(data)-max(data)/2))

Submission status: Runtime Error

Solution code:
T = [1]*(N + 1)
P = [1]*(N + 1)
for i in range(1, N+1):
	P[i] = P[i-1]*2 + 1
	T[i] = T[i-1]*2 + 3
def pate(n, x):
	if n == 0:
		if x > 0: return 1
		return 0
	mid = T[n]//2
	if x < mid:
		return pate(n-1, x-1)
	elif mid == x:
		return 1 + pate(n-1, x-2)
	else:
		return P[n-1] + 1 + pate(n-1, x-mid-1)

print(pate(N, X))

Submission status: Runtime Error

Solution code:
D = int(input())

if ( D == 25 )
	print('Christmas')
elif (D == 24)
	print('Christmas Eve')
elif (D == 23)
	print('Christmas Eve Eve')
elif (D == 22)
	print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
N = int(input())
p = [int(input()) for i in range(N)]
p.sort()
hangaku = p[N-1]/2
sum = 0
for i in range(N) :
    sum += p[i]
sum -= hangaku
print(sum)

Submission status: Runtime Error

Solution code:
D = int(input())
st = 'Chritsmas'
ww = 25-D
print(st+(' Eve'*WW))

Submission status: Runtime Error

Solution code:
d = int(input())

if d == 25
    print("Christmas")
elif d == 24
    print("Christmas Eve")
elif d == 23
    print("Christmas Eve Eve")
elif d == 23
    print("Christmas Eve Eve")

Submission status: Runtime Error

Solution code:
n, k = map(int, input().split())
h = sorted([int(input()) for _ in range(n)])
print(min(h[k + i - 1]-h[i] for i in range(n - k + 1)))

Submission status: Runtime Error

Solution code:
n = int(input().split()[0])

data = dict(25="Christmas", 24="Christmas Eve",
            23="Christmas Eve Eve",
            22="Christmas Eve Eve Eve")

print(data[n])

Submission status: Runtime Error

Solution code:
m=int(input())
if m==25:
  print('Christmas')
elif m==24:
  print('Christmas Eve')
elif m==23:
  print('Christmas Eve Eve')
elif: m==22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
p = [int(input()) for i in range(int(input()))]
print(sum(p)-int(max(p)/2)

Submission status: Runtime Error

Solution code:
D = int(input())

if D = 25:
  print('Christmas')
  
if D = 24:
  print('Christmas Eve')
  
if D = 23:
  print('Christmas Eve Eve')
  
if D = 22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
D = int(input())
a = 'Christmas'
if D = 22:
    print(a + ' Eve Eve Eve')
elif D = 23:
    print(a + ' Eve Eve')
elif D = 24:
    print(a + ' Eve')
else:
    print(a)

Submission status: Runtime Error

Solution code:
D = int(input)
ans="Christmas"
for i in range(25 - D):
  ans += " Eve"
  
print(ans)

Submission status: Runtime Error

Solution code:
print({25 : 'Christmas', 24 : 'Christmas Eve', 23 : 'Christmas Eve Eve', 22 : 'Christmas Eve Eve Eve'}[input()])

Submission status: Runtime Error

Solution code:
n,x=map(int,input().split())
plist=[1]
blist=[1]
for i in range(n):
  plist.append(plist[-1]*2+1)
  blist.append(blist[-1]*2+3)
def patty(n,x):
  if n==0:
    return 0
  else:
    if x==1:
      return 0
    elif 1<x and x<=blist[n-1]+1:
      return patty(n-1,x-1)
    elif x==blist[n-1]+2:
      return plist[n-1]+1
    elif 2+blist[n-1]<x and 2*blist[n-1]+2>=x:
      return plist[n-1]+patty(n-1,x-2-blist[n-1])+1
    else:
      return plist[n]
print(patty(n,x))

Submission status: Runtime Error

Solution code:
d=int(input())
if d==25:
    print('Christmas')
elif d==24:
    pirnt('Christmas Eve')
elif d==23:
    print('Christmas Eve Eve')
elif d==22:
    print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
n=int(input())
a=[int(input()) for i in range(n)]
print(int(sum(a)-max(a)/2))

Submission status: Runtime Error

Solution code:
s=input()
if D==25:
  print('Christmas')

if D==24:
  print('Christmas Eve')
if D==25:
  print('Christmas Eve Eve')

if D==25:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
def solve():
    d = int(input())
    eves = 25 - d
    return "Christmas" + " Eve" + eves


if __name__ == "__main__":
    print(solve())

Submission status: Runtime Error

Solution code:
n = int(input())
price = [int(input()) for _ in range(n)]
print(int(sum(price) - max(price) / 2))

Submission status: Runtime Error

Solution code:
N = int(input())
str = "Christmas"
 
if N != 25:
	while N >= 22:
		str += " Eve"
        N -= 1
        
print(str)

Submission status: Runtime Error

Solution code:
n = int(input())
p = [input() for i in range(n)]
print(sum(p) - max(p)/2)

Submission status: Runtime Error

Solution code:
n = int(input())
p = [int(input()) for i in range(n)]
print(sum(p) - max(p)/2)

Submission status: Runtime Error

Solution code:
d=int(input())
if d=25:
    print("Christmas")
elif d=24:
    print("Christmas Eve")
elif d=23:
    print("Christmas Eve Eve")
else:
    print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
l=[int(input()) for _ in range(int(input()))]
print(sum(l)-int(max(l)/2))

Submission status: Runtime Error

Solution code:
price=[int(input()) for _ in range(int(input()))]
print(sum(price) - int(max(price)/2))

Submission status: Runtime Error

Solution code:
price = [ int(input()) for _ in range(int(input()))]
print(sum(price) - int(max(price)/2))

Submission status: Runtime Error

Solution code:
price = [int(input()) for _ in range(int(input()))]
print(sum(price)-int(min(price)/2))

Submission status: Runtime Error

Solution code:
price = [ int(input()) for _ in range(int(input()))]
print(sum(price) - int(min(price)/2))

Submission status: Runtime Error

Solution code:
n=int(input())
price_list=[int(input()) for i in range(n)]
print(sum(price_list)-max(price_list)//2)

Submission status: Runtime Error

Solution code:
n = int(input())
l = [int(input()) for _ in [0]*n]

print(sum(l)-max(l)//2)

Submission status: Runtime Error

Solution code:
D = int(input())
if D == 25
	print("Christmas")
elif D == 24
	print("Christmas Eve")
elif D == 23
	print("Christmas Eve Eve")
elif D == 22
	print("Christmas Eve Eve Eve")

Submission status: Runtime Error

Solution code:
d=int(input())
if d == 22:
  print('Christmas Eve Eve Eve')
elif d == 23:
  print('Christmas Eve Eve')
elif d == 24:
  print('Christmas Eve')
eilf d == 25:
  print('Christmas')

Submission status: Runtime Error

Solution code:
D = int(input)
if D == 25:
    print('Christmas')
elif D == 24:
    print('Christmas Eve')
elif D == 23:
    print('Christmas Eve Eve')
else:
    print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
import itertools

min_all = 1000000
    
N,K = [int(i) for i in input().split(" ")]
H = [int(input()) for _ in range(N)]
H.sort()
    
for i in range(N+1-K):
  min_now = H[K-1+i] - H[i]
  if min_all > min_now:
    min_all = min_now
print(min_all)

Submission status: Runtime Error

Solution code:
x = input()
l = { 25: "Christmas", 24: "Christmas Eve", 23: "Christmas Eve Eve", 22: "Christmas Eve Eve Eve" }
return l[int(x)]

Submission status: Runtime Error

Solution code:
n=int(input())
if n==22:
    print("Christmas Eve Eve Eve")
if n==23:
    print("Christmas Eve Eve")
if n==24:
    print("Christmas Eve")
if n==25:
    print("
          Christmas")

Submission status: Runtime Error

Solution code:
A = 25 - int(input()) # 0,1,2,3
X = [0] * (10 ** 8 * (2**A))

Submission status: Runtime Error

Solution code:
A = 25 - int(input()) # 0,1,2,3
X = [0] * (10 ** 8 * (A*2+1))

Submission status: Runtime Error

Solution code:
A = 25 - int(input()) # 0,1,2,3
X = [0] * (10 ** 8 * (A*2+2))

Submission status: Runtime Error

Solution code:
A = 25 - int(input()) # 0,1,2,3
X = [0] * 10 ** (A+8)

Submission status: Runtime Error

Solution code:
N = int(input())
p = [0]*N
s = 0

for i in range(N):
   p[i] = int(input())
   s = s + p[i]
   
print(s-max(p)//2)

Submission status: Runtime Error

Solution code:
d = int(input())
s = 'Christmas'
for i range(25-d):
  s = s+' Eve'
print(s)

Submission status: Runtime Error

Solution code:
n = int(input())
lst = []

for i in range(n):
  item = int(input())
  lst.append(item)

goods = sorted(lst, reverse=True)
goods[0] = goods[0] // 2

print(sum(goods))

Submission status: Runtime Error

Solution code:
n = int(input())
lst = []

for i in range(n):
  item = int(input())
  goods.append(item)

goods = sorted(lst, reverse=True)
goods[0] = goods[0] // 2

print(sum(goods))

Submission status: Runtime Error

Solution code:
d = int(input())

print("Christmas" + " Eve" * (abs(25-d))

Submission status: Runtime Error

Solution code:
N, X = map(int, input().split())

a = [1]
p = [1]
for i in range(1, N+1):
    a.append(2 * a[i-1] + 3)
    p.append(2 * a[i-1] + 1)

def calc(N, X): #レベルNバーガーの下からX層に含まれるパティの枚数
    if N == 0: #全てパティ
        if X == 0:
            return 0
        else:
            return 1
    if X == 1:
        return 0
    # print (N - 1)
    if 1 <= X <= a[N - 1]:
        # print ('A')
        return calc(N - 1, X - 1)
    if X == 2 + a[N - 1]:
        # print ('B')
        return p[N - 1] + 1
    if 2 +a[N - 1] < X <= 2 + 2 * a[N - 1]:
        # print ('C')
        return p[N - 1] + 1 + calc(N - 1, X - 2 - a[N - 1])
    if X == 3 + 2 * 2 * a[N - 1]:
        # print ('D')
        return 2 * p[N - 1] + 1

print (calc(N, X))

Submission status: Runtime Error

Solution code:
n,m=map(int,input().split())
h=[int(input()) for i in range(n)]
h.sort()
v=[]
for i in range(n-m+1):
    a=h[i]
    b=h[i+m-1]
    v.append(b-a)
    
print(min(v))

Submission status: Runtime Error

Solution code:
D = int(intput())

if D == 25 :
  print('Christmas')
elif D == 24 :
  print('Christmas Eve')
elif D == 23 :
  print('Christmas Eve Eve')
elif D == 22 :
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
n, k = map(int,input().split())
li = list(int(input()) for i in range(n))

li.sort()
num = 0
li2 = []
for i in range(len(li)-k+1):
    li2.append( max(li[i:i+k]) - min(li[i:i+k]))

print(min(li2))

Submission status: Runtime Error

Solution code:
d = int(input())

if d=25:
  print('Christmas')
elif d=24:
  print('Christmas Eve')
elif d=23:
  print('Christmas Eve Eve')
elif d=22:
  print('Christmas Eve Eve Eve')

Submission status: Runtime Error

Solution code:
N, K = map(int, input().split())
h = [int(input()) for i in range(N)]

# 小さい順にソートする
#def sort(h):
#    if len(h) <= 1:
        return h
#    base = h[-1]
#    low_temp = [];
#    high_temp = [];
#    base_count = 1
#    for i in range(len(h)-1):
#        if h[i] < base:
#            low_temp.append(h[i])
#        elif h[i] > base:
#            high_temp.append(h[i])
#        else:
#            base_count += 1
#    low = sort(low_temp)
#    high = sort(high_temp)
#    return low + [base]*base_count + high

h.sort()
hantei = 10**10
for i in range(N-K+1):
    temp = h[i:i+K]
    temp_dif = max(temp) - min(temp)
    if temp_dif < hantei:
        hantei = temp_dif

print(hantei)