TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: 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.

Submission attempts (in order):
S = input()

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

elif S ==23:
  print("Christmas Eve Eve")
elif S ==24:
  print("Christmas Eve")
elif S ==25:
  print("Christmas")

S = int(input())

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

elif S ==23:
  print("Christmas Eve Eve")
elif S ==24:
  print("Christmas Eve")
elif S ==25:
  print("Christmas")

Verdicts: Wrong Answer

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

Submission attempts (in order):
n,x = map(int,input().split())
l1='BPPPB'
for i in range(n-1):
    l2 = 'B'+l1+'P'+l1+'B'
    l1 = l2
y = l1[:x].count('P')
print(y)

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')

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
n = int(input().split()[0])

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

print(data[n])


n = int(input().split()[0])

data = {25:"Christmas",
        24:"Christmas Eve",
        23:"Christmas Eve Eve",
        22:"Christmas Eve Eve Eve"}

print(data[n])


Verdicts: Runtime Error

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

Submission attempts (in order):
in_t = input().split()
n = int(in_t[0])
k = int(in_t[1])
list = []
for i in range(k):
 list.append(int(input()))
for i in range(n - k):
 new = int(input())
 if (list[k-1] > new) | (new > list[2]):
  list.append(new)
  list.sort()
  diff_max = list[k-1] - list[k-2]
  diff_min = list[1] - list[2]
  if (diff_max > diff_min):
   list.remove(list[0])
  else:
    list.remove(list[k-1])
print(list[k-1] - list[0])

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") 

Verdicts: Runtime Error

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

Submission attempts (in order):
N, K = map(int, input().split())
h = [int(input()) for i in range(N)]
h.sort()
print(min(h[i+K-1] - h[i] for i in range(N-K+1)))

IN = int(input())

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

Verdicts: Runtime Error

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

Submission attempts (in order):
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')

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')

Verdicts: Runtime Error

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

Submission attempts (in order):
d = 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")

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")

Verdicts: Wrong Answer

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

Submission attempts (in order):
pb_list = []
p_count = 0

def pb(n):
    if n == 0:
        pb_list.append('p')
        p_count = p_count + 1
        return
    elif n >= 0:
        pb_list.append('b')
        pb(n - 1)
        pb_list.append('p')
        p_count = p_count + 1
        pb(n - 1)
        pb_list.append('b')
    else:
        return

n, x = input().split(' ')
n = int(n)
x = int(x)
pb(n)


#    if pb_list[i] == 'p':
#        p_count = p_count + 1

print(p_count)

c = int(input())

if c == 25:
    print("Christmas")
elif c == 24:
    print("Christmas Eve")
elif c == 23:
    print("Christmas Eve Eve")
elif c == 22:
    print("Christmas Eve Eve Eve")
else:
    pass

Verdicts: Runtime Error

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

Submission attempts (in order):
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')


Verdicts: Runtime Error

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

Submission attempts (in order):
N,K = [int(i) for i in input().split()]
H = sorted([int(input()) for i in range(N)])
ans = H[K - 1] - H[0]
for i in range(N - K + 1):
    t = H[K + i - 1] - H[i]
    if ans > t:
        ans = t
print(ans)

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")

Verdicts: Runtime Error

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

Submission attempts (in order):
D = input()
D = int(D)

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

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

D = input()
D = int(D)

D = 25 - D

print ('Christmas' + ' Eve'* D)


Verdicts: Runtime Error

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

Submission attempts (in order):
x=int(input())
if x==25:
  print('Christmas')
if x==24:
  print('Christmas Eve')
if x==23:
  print('Christmas Eve Eve')
else:
  print('Christmas Eve Eve Eve')

x=int(input())
if x==25:
  print('Christmas')
if x==24:
  print('Christmas Eve')
if x==23:
  print('Christmas Eve Eve')
if x==22:
  print('Christmas Eve Eve Eve')


Verdicts: Wrong Answer

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

Submission attempts (in order):
import numpy as np

N = int(input())
price = []

for i in range(N):
    price.append(int(input()))
    
price = np.array(price)
max_index = np.argmax(price)

print(int(np.sum(price) - price[max_index] / 2))


import numpy as np

N = int(input())
price = []

for i in range(N):
    price.append(int(input()))

price = np.array(price)
max_index = np.argmax(price)

print(int(np.sum(price) - price[max_index] / 2))

day = int(input())

difference = int(25 - day)

if difference > 0:
    answer = "Christmas " + "Eve " * (difference - 1) + "Eve"
else:
    answer = "Christmas"

print(answer)

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
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")

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")

Verdicts: Runtime Error

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

Submission attempts (in order):
D = input('入力をうけつけています')
if int(D) == 25 :
    print('Christmas')
elif int(D) == 24 :
    print('Christmas Eve')
elif int(D) == 23:
    print('Christmas Eve Eve')
elif int(D) == 22:
    print('Christmas Eve Eve Eve')
else:
    print('わかりません')

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')

Verdicts: Wrong Answer

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

Submission attempts (in order):
input = int(input)
if(input == 22):
  print("Christmas Eve Eve Eve")
elif(input == 23):
  print("Christmas Eve Eve")
elif(input == 24):
  print("Christmas Eve")
elif(input == 25):
  print("Christmas")


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

Verdicts: Runtime Error

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

Submission attempts (in order):
a, b = (int(i) for i in input().split()) 

list=[]
 
for i in range(a):
    list.append(int(input()))

new_list = sorted(list)

sabun = None

for i in range(len(new_list)-1):

    if i+b == len(new_list):
        break

    bbb = new_list[i+b-1] - new_list[i]

    if sabun == None:
        sabun = bbb
        continue

    if sabun > bbb:
        sabun = bbb
    
print(sabun)

n = int(input())

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

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

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

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

Verdicts: Runtime Error

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

Submission attempts (in order):
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)
    


D=int(input())
print("Christmas"+" Eve"*(25-D))

Verdicts: Runtime Error

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

Submission attempts (in order):
n=int(input())
p=[]
[p.append(int(input())) for i in range(n)]
print(sum(p)-max(p)//2)

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

Verdicts: Runtime Error

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

Submission attempts (in order):
print(' '.join('Christmas','Eve'*(25-int(input()))))

D = int(input())
_ans = ['Christmas']
for _ in range(25 - D):
    _ans.append('Eve')
ans = ' '.join(_ans)
print(ans)

Verdicts: Runtime Error

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

Submission attempts (in order):
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')


D = input()
D = int(D)
while True:
    pass

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 = input()
D = int(D)
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')


Verdicts: Wrong Answer

Time Limit Exceeded

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

Submission attempts (in order):
d = int(input())

if d == 25:
    out = "Christmas"
elif d == 24:
    out = "Christmas Eve"
elif d == 23:
    out = "Christmas Eve Eve"
else:
    out = "Christmas Eve Eve Eve"



d = int(input())

if d == 25:
    out = "Christmas"
elif d == 24:
    out = "Christmas Eve"
elif d == 23:
    out = "Christmas Eve Eve"
else:
    out = "Christmas Eve Eve Eve"

print(out)

Verdicts: Wrong Answer

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

Submission attempts (in order):
N = input()
p = []
for i in range(N):
    p.append(input())

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



a = input()
if a == "25":
    print("Christmas Eve")
elif a == "24":
    print("Christmas Eve")
elif a == "23":
    print("Christmas Eve Eve")
else: print("Christmas Eve Eve Eve")

a = input()
if a == "25":
    print("Christmas")
elif a == "24":
    print("Christmas Eve")
elif a == "23":
    print("Christmas Eve Eve")
else: print("Christmas Eve Eve Eve")

Verdicts: Runtime Error

Wrong Answer

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

Submission attempts (in order):
D=int(input())
if D == 25:
    print("Chiristmas")
elif D== 24:
    print("Christmas Eve")
elif D== 23:
    print("Christmas Eve Eve")
else:
    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")
else:
    print("Christmas Eve Eve Eve")

Verdicts: Wrong Answer

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

Submission attempts (in order):
D = int(input())
print(Christmas if D == 25, Christmas Eve if D ==24, Christmas Eve Eve if D == 23, Christmas Eve Eve Eve else)

D = int(input())
print("Christmas"+" Eve"*(25-D))

Verdicts: Runtime Error

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

Submission attempts (in order):
n,k = map(int,input().split())
list = []
for i in range(n):
  list.append(int(input()))
list.sort()
min = list[n-1]
for j in range(n-k+1):
  if list[j+k-1]-list[j] < min:
    min = list[j+k-1]-list[j]
print(min)

D = int(input())
a = abs(D-25)
C = list('Christmas')
for i in range(a):
  C.append(' ')
  C.append('E')
  C.append('v')
  C.append('e')
  
print(''.join(C))

Verdicts: Runtime Error

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

Submission attempts (in order):
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()

def main():
 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')
main()

Verdicts: Runtime Error

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

Submission attempts (in order):
import pdb

def eat(n, x):
    ret = 0

    if x == 0:
        return 0, x

    if n == 0:
        x -= 1
        return 1, x

    if allnum[n] <= x:
        x -= allnum[n]
        return pnum[n], x
        
    
    x -= 1 # eat bread
    if x == 0:
        return 0, x

    # eat n-1 beager
    tmp, x = eat(n - 1, x)
    ret += tmp
    if x == 0:
        return ret, x

    # eat patty
    x -= 1
    ret += 1
    if x == 0:
        return ret, x

    # eat n-1 beager
    tmp, x = eat(n - 1, x)
    ret += tmp
    if x == 0:
        return ret, x

    x -= 1 # eat bread
        
    return ret, x


def main():
    tmp = input().split()
    n = int(tmp[0])
    x = int(tmp[1])
    global pnum
    global allnum
    pnum = [1]
    allnum = [1]
    for i  in range(1, 52):
        pnum.append(pnum[i-1] * 2 + 1)
        allnum.append(allnum[i-1] * 2 + 3)

    ans, tmp = eat(n, x)

    print("%d" % ans)

        
if __name__ == '__main__':
    main()


import pdb
import sys
sys.setrecursionlimit(10000)

def eat(n, x):
    ret = 0

    if x == 0:
        return 0, x

    if n == 0:
        x -= 1
        return 1, x

    if allnum[n] <= x:
        x -= allnum[n]
        return pnum[n], x
        
    
    x -= 1 # eat bread
    if x == 0:
        return 0, x

    # eat n-1 beager
    tmp, x = eat(n - 1, x)
    ret += tmp
    if x == 0:
        return ret, x

    # eat patty
    x -= 1
    ret += 1
    if x == 0:
        return ret, x

    # eat n-1 beager
    tmp, x = eat(n - 1, x)
    ret += tmp
    if x == 0:
        return ret, x

    x -= 1 # eat bread
        
    return ret, x


def main():
    tmp = input().split()
    n = int(tmp[0])
    x = int(tmp[1])
    global pnum
    global allnum
    pnum = [1]
    allnum = [1]
    for i  in range(1, 52):
        pnum.append(pnum[i-1] * 2 + 1)
        allnum.append(allnum[i-1] * 2 + 3)

    ans, tmp = eat(n, x)

    print("%d" % ans)

        
if __name__ == '__main__':
    main()


import pdb


def main():
    num = int(input())

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

        
if __name__ == '__main__':
    main()


Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
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")

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")

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")

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
a = input()

if a == 25:
	print('Christmas')
elif a == 24:
	print('Christmas Eve')
else:
	print('Christmas Eve Eve Eve')


a = input()

if a == 25:
	print('Christmas')
elif a == 24:
	print('Christmas Eve')
elif a == 23:
	print('Christmas Eve Eve')
else:
	print('Christmas Eve Eve Eve')


a = int(input().strip())

if a == 25:
	print('Christmas')
elif a == 24:
	print('Christmas Eve')
elif a == 23:
	print('Christmas Eve Eve')
else:
	print('Christmas Eve Eve Eve')


Verdicts: Wrong Answer

Wrong Answer

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

Submission attempts (in order):
D=int(input())
if D==25:
  print("Christmas")
else:
  if D==24:
    print("Christmas Eve")
  else:
    if D=23:
      print("Christmas Eve Eve")
    else:
      print("Christmas Eve Eve Eve")

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

Verdicts: Runtime Error

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

Submission attempts (in order):
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')

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')

Verdicts: Runtime Error

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

Submission attempts (in order):
n = input()
if n == 25:
  print("Christmas")
elif n == 24:
  print("Christmas Eve")
elif n == 23:
  print("Christmas Eve Eve")
elif n == 22:
  print("Christmas Eve Eve Eve")

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
d int(input())
print('Christmas'+' Eve'*(25-d))

d = int(input())
print('Christmas'+' Eve'*(25-d))

Verdicts: Runtime Error

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

Submission attempts (in order):
d = int(input())

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

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")

Verdicts: Wrong Answer

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

Submission attempts (in order):
a=int(input())
b="Christmas"
for i in range(25-a)
	b+=" Eve"
  print(b)

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


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


Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
S=int(input())
if S==25:
  print("Crisitmas")
if S==24:
  print("Christmas Eve")
if S==23:
  print("Christmas Eve Eve")
if S==22:
  print("Christmas Eve Eve Eve")


S=int(input())
if S==25:
  print("Crisitmas ")
if S==24:
  print("Christmas Eve")
if S==23:
  print("Christmas Eve Eve")
if S==22:
  print("Christmas Eve Eve Eve")


S=input()
if S==25:
  print("Crisitmas")
if S==24:
  print("Christmas Eve")
if S==23:
  print("Christmas Eve Eve")
if S==22:
  print("Christmas Eve Eve Eve")

S=int(input())
if S==25:
  print('Crisitmas')
if S==24:
  print("Christmas Eve")
if S==23:
  print("Christmas Eve Eve")
if S==22:
  print("Christmas Eve Eve Eve")


S=input()
if S=='25':
  print("Christmas")
if S=='24':
  print("Christmas Eve")
if S=='23':
  print("Christmas Eve Eve")
if S=='22':
  print("Christmas Eve Eve Eve")


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

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

Submission attempts (in order):
print('Chiristmas' + ' Eve'*(25-int(input())))

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

Verdicts: Wrong Answer

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

Submission attempts (in order):
D = input()

today = "Christmas"

x = 25 - D

today += x * " Eve"

print(today)
    



D = int(input())


today = "Christmas"

x = 25 - D

today += x * " Eve"

print(today)
    



Verdicts: Runtime Error

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

Submission attempts (in order):
D = input()
eve = 'Eve'
print("Christmas " + eve * (25 - D))

D = input()
eve = ' Eve' * (25 - int(D))
print('Christmas' + eve)

Verdicts: Runtime Error

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

Submission attempts (in order):
N, K = map(int, input().split())
lst = []
for _ in range(N):
    lst.append(int(input()))
lst = sorted(lst)
ret = 100000000000
 
for idx, x in enumerate(lst[:-K+1], 0):
    tmp = lst[idx + K-1] - x
    if tmp < ret:
        ret = tmp
print(ret)

D = int(input())
lst = ['Christmas'] + ['Eve'] * (25 - D)
print(' '.join(lst))

Verdicts: Runtime Error

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

Submission attempts (in order):
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')
 

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')
 

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')
 

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')
 

Verdicts: Runtime Error

Runtime Error

Runtime Error

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

Submission attempts (in order):
d = int(input())
ans = 'Chrimstmas'
e = 'Eve'
if d == 25:
    print(ans)
elif d == 24:
    print(ans, e)
elif d == 23:
    print(ans, e, e)
else:
    print(ans, e, e, e)


d = int(input())
ans = 'Christmas'
e = 'Eve'
if d == 25:
    print(ans)
elif d == 24:
    print(ans, e)
elif d == 23:
    print(ans, e, e)
else:
    print(ans, e, e, e)


Verdicts: Wrong Answer

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

Submission attempts (in order):
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")


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")

Verdicts: Runtime Error

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

Submission attempts (in order):
D = int(input())

if D == 25:
  print("Chiristmas")
elif D == 24:
  print("Chiristmas Eve")
elif D == 23:
  print("Chiristmas Eve Eve")
else:
  print("Chiristmas Eve Eve Eve")

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")
  

Verdicts: Wrong Answer

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

Submission attempts (in order):
input = (int)input()

if input == 22:
  print("Christmas Eve Eve Eve")
else if input == 23:
  print("Christmas Eve Eve")
else if input == 24:
  print("Christmas Eve")
else if input == 25:
  print("Christmas")
else:
  print(null)

input = (int)(input())
 
if input == 22:
  print("Christmas Eve Eve Eve")
elif input == 23:
  print("Christmas Eve Eve")
elif input == 24:
  print("Christmas Eve")
elif input == 25:
  print("Christmas")
else:
  print(null)

Verdicts: Runtime Error

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

Submission attempts (in order):
D=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')


# coding: utf-8
# Your code here!
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')


Verdicts: Wrong Answer

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

Submission attempts (in order):
N,X = [int(i) for i in input().split()]

def get_next_burger(current_burger) :
	return "B" + current_burger + "P" + current_burger + "B"

current = "P"

for i in range(N) :
	current = get_next_burger(current)

target = current[:X]
print(target.count("P"))

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")

Verdicts: Runtime Error

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

Submission attempts (in order):
dict={25:'Christmas',24:'Christmas Eve',23:'Christmas Eve Eve',22;'Christmas Eve Eve Eve'}
print(dict[input()])

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

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

Verdicts: Runtime Error

Runtime Error

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

Submission attempts (in order):
import random, time
random.seed(time.time())
print("Christmas"+" Eve"*random.randrange(4))

import random, time
random.seed(time.time())
print("Christmas"+" Eve"*random.randrange(4))

import random, time
random.seed(time.time())
print("Christmas"+" Eve"*random.randrange(4))

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

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

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

Submission attempts (in order):
D = int(input())
D = 25 - D
print('Christams{}!'.format(' Eve'*D))

D = int(input())
D = 25 - D
print('Christams{}'.format(' Eve'*D))

D = int(input())
D = 25 - D
print('Christmas{}'.format(' Eve'*D))

Verdicts: Wrong Answer

Wrong Answer

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

Submission attempts (in order):
N = int(input())
p = [int(input()) for _ in range(N)]

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

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

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
import sys
n=int(input())
p=[int(i) for i in sys.stdin]
ans=p.pop()//2
print(sum(p)+ans)

import sys
n=int(input())
p=[int(i) for i in sys.stdin]
p.sort()
ans=p.pop()//2
print(sum(p)+ans)

Verdicts: Wrong Answer

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
4
4320
4320
4320
4320

import math, string, itertools, fractions, heapq, collections, re,  array, bisect, sys, random, time, copy, functools


sys.setrecursionlimit(10**7)
inf = 10 ** 20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]
ddn = [(-1, 0), (-1, 1), (0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1)]


def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    N = I()
    p = []
    for i in range(N):
        p.append(I())

    highest = max(p)
    del p[p.index(highest)]
    result = highest / 2 + sum(p)
    print(int(result))

main()


Verdicts: Wrong Answer

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
print(sum(p)-max([int(input()) for i in range(int(input()))])//2)

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

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
l=[int(input()) for range(int(input())]
print(sum(l)-int(max(l)/2))                         

n=int(input())
P=[int(input()) for i in range(n)]
print(sum(P)-max(P)+max(P)//2)

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
N = int(input())
a = [int(input()) for i in range(N)]

total = int(max(a)/2)
print(max(a))
print(total)
a.remove(max(a))
print(a)
total += sum(a)

print(total)

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

total = int(max(a)/2)
a.remove(max(a))
print(a)
total += sum(a)

print(total)

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

total = max(a)/2
print(max(a))
print(total)
a.remove(max(a))
print(a)
total += sum(a)

total = max(a)/2
a.remove(max(a))
total += sum(a)
print(total)

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

total = int(max(a)/2)
a.remove(max(a))
total += sum(a)

print(total)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
#include <stdio.h>
#include <string.h>
#include <math.h>

int main(void){
        int N = 0;
        scanf("%d", &N);
        int l[N];
        for (int i = 0; i < N; i++) {
                        scanf("%d", &l[i]);
        }
        int tmp = -1;
        int sum = 0;
        for (int i = 0; i < N; i++) {
                        if (tmp < l[i]) tmp = l[i];sum += l[i];
        }
        printf("%d\n",sum - tmp / 2);
//      for (int i = 0; i < N; i++) {
//                      printf("%d\n",l[i]);
//      }
        return 0;
}

N=int(input())
L=[int(input()) for _ in range(N)]

ans=sum(L)-max(L)/2
print(int(ans))


Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
 = int(input())
highest_price = 0
sum = 0
for i in range(n):
    product = int(input())
    if highest_price < product:
        sum += highest_price/2
        highest_price = product
        sum += highest_price/2
    else:
        sum += product
print(int(sum))

n = int(input())
highest_price = 0
sum = 0
for i in range(n):
    product = int(input())
    if highest_price < product:
        sum += highest_price/2
        highest_price = product
        sum += highest_price/2
    else:
        sum += product
print(int(sum))


Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
n=int(input())
A=[]
for i in range(n):
  A.append(int(input())
A.sort()
print(sum(A)-A[-1]/2)

n=int(input())
A=[]
for i in range(n):
  A.append(int(input()))
A.sort()
print(int(sum(A)-A[-1]/2))

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
N = int(input())
List = [int(input()) for _ in range(N)]
last = sorted(List)[-1] * 0.1
print(sum(List) - last)

N = int(input())
List = [int(input()) for _ in range(N)]
last = sorted(List)[-1] * 0.5
print(sum(List) - last)

N = int(input())
List = [int(input()) for _ in range(N)]
last = sorted(List)[-1] * 0.5
print(int(sum(List) - last))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
a =int(input())
m =0
for i in range(N):
  p=int(input())
  m=max(m,p)
a=int(sum(p)-m/2)
print(a)

N = int(input()), sum = 0, mx = 0
for i in range(N):
  P = int(input())
  sum += P
  mx = max(mx, P)

print(sum - mx / 2)


N = int(input())
p = []
for i in range(N):
  p.append(int(input()))
  
print(int(sum(p)-max(p)/2)


N = int(input())
sum,mx = 0,0
for i in range(N):
	P = int(input())
	sum += P
	mx = max(mx, P)

print(sum - mx / 2)

N = int(input())
sm,mx = 0,0
for i in range(N):
  P = int(input())
  sm += P
  mx = max(mx, P)

print(sm - mx / 2)


N = int(input()), sum = 0, mx = 0
for i in range(n):
  P = int(input())
  sum += P
  mx = max(mx, P)

print(sum - mx / 2)

N = int(input())
sum,mx = 0,0
for i in range(N):
  P = int(input())
  sum += P
  mx = max(mx, P)

print(sum - mx / 2)


N = int(input())
for i in range(N):
  p =int(input())
  
print(int(sum(p)-max(p)/2)

a =int(input())
m,n =0,0
for i in range(a):
  p=int(input())
  n += p
  m=max(m,p)
a=int(n-m/2)
print(a)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
n = input()
p = [int(input()) for _ in range(n)]
print(p.pop()//2 + sum(p))

N = int(input())
P = [int(input()) for _ in range(N)]
P.sort()
print(P[-1]//2 + sum(P[:N-1]))

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
n = int(input())
ans_ = []
for i in range(n):
    num = int(input())
    ans_.append(num)
ans_.sort()
a = int(ans_[0]/2)
ans_[0] = a
ans = 0
for i in ans_:
    ans += i
print(ans)

n = int(input())
ans_ = []
for i in range(n):
    num = int(input())
    ans_.append(num)
ans_.sort()
a = int(ans_[n-1]/2)
ans_[n-1] = a
ans = 0
for i in ans_:
    ans += i
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
h,w=map(int,input().split())
lst=[]
for _ in range(h):
    lst.append(input())
hl=[0]*h
wl=[0]*w
for i in range(h):
    for j in range(w):
        if lst[i][j]=="#":
            hl[i]=1
            wl[j]=1
            if hl[i]==1 and wl[j]==1:
                print(lst[i][j],end="")
    print("")

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

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
input()
x=sum(input())
y=max(input())
print(x-y//2)

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

Verdicts: Runtime Error

Accepted
Problem: In some other world, today is the day before Christmas Eve.  Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan).  He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay?

Submission attempts (in order):
n=int(input())
p=[int(input())for i in range(n)]
maxp=p.pop(p.index(max(p)))
ans=0
for i in p:
  ans=ans+i
ans=ans+maxp
print(ans)

n=int(input())
p=[int(input())for i in range(n)]
maxp=p.pop(p.index(max(p)))
ans=0
for i in p:
  ans=ans+i
ans=ans+maxp//2
print(ans)

Verdicts: Wrong Answer

Accepted