Greg is a beginner bodybuilder. Today the gym coach gave him the training plan. All it had was n integers a_1, a_2, ..., a_{n}. These numbers mean that Greg needs to do exactly n exercises today. Besides, Greg should repeat the i-th in order exercise a_{i} times.

Greg now only does three types of exercises: "chest" exercises, "biceps" exercises and "back" exercises. Besides, his training is cyclic, that is, the first exercise he does is a "chest" one, the second one is "biceps", the third one is "back", the fourth one is "chest", the fifth one is "biceps", and so on to the n-th exercise.

Now Greg wonders, which muscle will get the most exercise during his training. We know that the exercise Greg repeats the maximum number of times, trains the corresponding muscle the most. Help Greg, determine which muscle will get the most training.


-----Input-----

The first line contains integer n (1 ≤ n ≤ 20). The second line contains n integers a_1, a_2, ..., a_{n} (1 ≤ a_{i} ≤ 25) — the number of times Greg repeats the exercises.


-----Output-----

Print word "chest" (without the quotes), if the chest gets the most exercise, "biceps" (without the quotes), if the biceps gets the most exercise and print "back" (without the quotes) if the back gets the most exercise.

It is guaranteed that the input is such that the answer to the problem is unambiguous.


-----Examples-----
Input
2
2 8

Output
biceps

Input
3
5 1 10

Output
back

Input
7
3 3 2 7 9 6 8

Output
chest



-----Note-----

In the first sample Greg does 2 chest, 8 biceps and zero back exercises, so the biceps gets the most exercises.

In the second sample Greg does 5 chest, 1 biceps and 10 back exercises, so the back gets the most exercises.

In the third sample Greg does 18 chest, 12 biceps and 8 back exercises, so the chest gets the most exercise.

Difficulty: interview

Starter code:

Solutions:
n=int(input())

s=input().split()

A=[0,0,0]
for i in range(n):
    A[i%3]+=int(s[i])

m=max(A)

if(m==A[0]):
    print("chest")
elif(m==A[1]):
    print("biceps")
else:
    print("back")


import sys
my_file = sys.stdin
#my_file = open("input.txt", "r")
n = int(my_file.readline().strip("\n"))
a = [int(i) for i in my_file.readline().split()]
if sum(a[::3]) >= sum(a[1::3]) and sum(a[::3]) >= sum(a[2::3]):
    print("chest")
elif sum(a[1::3]) >= sum(a[::3]) and sum(a[1::3]) >= sum(a[2::3]):
    print("biceps")
else:
    print("back")

n, t = int(input()), list(map(int, input().split()))
p, t = [0] * 3, t + [0] * (3 - n % 3)

for i in range(0, n, 3):
    for j in range(3): p[j] += t[i + j]

print(['chest', 'biceps', 'back'][p.index(max(p))])

n = int(input())
A = list(map(int, input().split()))
a, b, c = 0, 0, 0
i = 1
while i <= n:
	a += A[i - 1]
	i += 3
i = 2
while i <= n:
	b += A[i - 1]
	i += 3
i = 3
while i <= n:
	c += A[i - 1]
	i += 3
if a >= b and a >= c:
	print("chest")
elif b >= a and b >= c:
	print("biceps")
else:
	print("back")

n = int(input())
a = input().split()
arr = [0,0,0]
e = ["back", "chest", "biceps"]

for i in range(1,n+1):
	arr[i%3] += int(a[i-1])

print(e[arr.index(max(arr))])


n = int(input())
a = list(map(int, input().split()))
s = [0]*3
for i in range(3):
    s[i] = sum(a[i:n:3])

if max(s) == s[0]:
    print('chest')
elif max(s) == s[1]:
    print('biceps')
else:
    print('back')



input()
a=list(map(int,input().split()))
d1={1:'chest',2:'biceps',0:'back'}
d2={1:0,2:0,0:0}
for i in range(len(a)):
    d2[(i+1)%3]+=a[i]
Max=0
for i in d2:
    if d2[i]>d2[Max]:
        Max=i
print(d1[Max])

input()
a=list(map(int,input().split()))
d1={1:'chest',2:'biceps',0:'back'}
d2={1:0,2:0,0:0}
Max=0
for i in range(len(a)):
    d2[(i+1)%3]+=a[i]
    if d2[(i+1)%3]>d2[Max]:
        Max=(i+1)%3
print(d1[Max])

c=input()
arr=[0,0,0]
inp=input()
inp=inp.split()
C=int(c)
v=0
for i in range(C):
    if v==3:
        v=0
        
    if v==0:
        arr[0]+=int(inp[i])
    elif v==1:
        arr[1]+=int(inp[i])
    elif v==2:
        arr[2]+=int(inp[i])

   

    v+=1

m=max(arr[0],max(arr[1],arr[2]))
if m==arr[0]:
    print ("chest")
elif m==arr[1]:
    print ("biceps")
else:
    print ("back")
    
    


def main() -> int:
    n = int(input())
    exercises = [int(word) for word in input().split()]
    total = [0] * 3

    for i in range(3):
        total[i] = sum(exercises[i::3])

    max_index = total.index(max(total))
    exercise_names = ['chest', 'biceps', 'back']

    print(exercise_names[max_index])

    return 0


def __starting_point():
    main()
__starting_point()

n = int(input())
masses = input().split()
muscle = ["chest", "biceps", "back"]
i = 0
res = [0] * 3
for mass in masses:
    res[i % 3] += int(mass)
    i += 1
print(muscle[res.index(max(res))])

sa=input()
sa2=input().split(' ')
sa3=[int(x) for x in sa2]
chest=0
biceps=0
back=0
for x in range(len(sa3)):
    if (x+1)%3==1:
        chest+=sa3[x]
    elif (x+1)%3==2:
        biceps+=sa3[x]
    else:
        back+=sa3[x]

if max(chest, back, biceps)==chest:
    print("chest")
if max(chest, back, biceps)==back:
    print("back")
if max(chest, back, biceps)==biceps:
    print("biceps")


input()
a=[int(i)for i in input().split()]
b=[sum(a[::3]),sum(a[1::3]),sum(a[2::3])]
c=['chest','biceps','back']
print(c[b.index(max(b))])

n = input()
ec = [0] * 3
maxi, maxv = 0, 0
for i, v in enumerate(map(int, input().split())):
    i %= 3
    ec[i] += v
    if ec[i] > maxv:
        maxi = i
        maxv = ec[i]
print(('chest', 'biceps', 'back')[maxi])

variant = int(input());
biceps=chest=back=0;
A = list(map(int, input().split()));
for i in range(variant):
    i+=1;
    if i%3 == 1:
        chest+=A[i-1];
    elif i%3 == 2:
        biceps+=A[i-1];
    else:
        back+=A[i-1];

if chest>biceps:
    if chest>back:
        print("chest");
    else:
        print("back");

else:
    if biceps>back:
        print("biceps");
    else:
        print("back");


n=int(input())
l=list(map(int,input().split()))

chest=0
biceps=0
back=0

for i in range(1,n+1):
    if i%3==1:
        chest+=l[i-1]
    elif i%3==2:
        biceps+=l[i-1]
    else:
        back+=l[i-1]
if(chest>=biceps and chest>= back):
    print("chest")
elif(biceps>=chest and biceps>=back):
    print("biceps")
else:
    print("back")


import sys

n = int(sys.stdin.readline())
l = [int(x) for x in (sys.stdin.readline()).split()]

chest = 0
biceps = 0
back = 0

i = 0
while(i < n):
    chest += l[i]
    i += 3
    
i = 1
while(i < n):
    biceps += l[i]
    i += 3
    
i = 2
while(i < n):
    back += l[i]
    i += 3
    
if(chest >= biceps and chest >= back):
    print("chest")
elif(biceps > chest and biceps > back):
    print("biceps")
elif(back > biceps and back > chest):
    print("back")

input()
l = [int(x) for x in input().split()]
a = sum(l[0::3])
b = sum(l[1::3])
c = sum(l[2::3])
if a > b and a > c:
	print('chest')
elif b > a and b > c:
	print('biceps')
else:
	print('back')


import math

def ost(a,b):
    if a%b!=0:
        return 1
    return 0

n=int(input())
data=list(map(int,input().split()))

ans=[0,0,0]

for i in range(n):
    ans[i%3]+=data[i]

anss=[ans[i] for i in range(3)]
anss.sort()
#print(anss,ans)
if ans[0]==anss[-1]:
    print("chest")
if ans[1]==anss[-1]:
    print("biceps")
if ans[2]==anss[-1]:
    print("back")



from sys import stdin


def main():
    stdin.readline()
    l = [0, 0, 0]
    for i, a in enumerate(map(int, stdin.readline().strip().split())):
        l[i % 3] += a
    return ('chest', 'biceps', 'back')[max(0, 1, 2, key=l.__getitem__)]

print(main())


n = int(input())
t = [int(x) for x in input().split()]
c =bi = ba=0
for ii in range(n):
    if (ii+1) % 3 == 1:
        c+=t[ii]
    elif (ii+1) % 3 ==2:
        bi+=t[ii]
    else:
        ba +=t[ii]
        
if c > bi and c > ba:
    print("chest")     
elif bi > c and bi > ba:
    print("biceps")
else:
    print("back")

def s(p):
    r=0
    for i in range(len(p)):
        r+=p[i]
    return r

n=int(input())
r=input()
l=list(r.split())

x=[]
y=[]
z=[]

for i in range(len(l)):
    if(i%3==0):
        l[i]=int(l[i])
        y.append(l[i])
    elif(i%3==1):
        l[i]=int(l[i])
        z.append(l[i])
    else:
        l[i]=int(l[i])
        x.append(l[i])
if(s(x)>s(y) and s(x)>s(z)):
    print("back")
if(s(y)>s(x) and s(y)>s(z)):
    print("chest")
if(s(z)>s(y) and s(z)>s(x)):
    print("biceps")


a=int(input())
b=input().split()

c=0
bi=0
bk=0

for i in range(len(b)):
   if i%3==0:
      c=c+int(b[i])
   elif i%3==1:
      bi=bi+int(b[i])
   elif i%3==2:
      bk=bk+int(b[i])

l=[]
l.append(c)
l.append(bi)
l.append(bk)

d=max(l)

if l.index(d)==0:
   print("chest")
elif l.index(d)==1:
   print("biceps")
else:
   print("back")


# coding: utf-8
n = int(input())
a = [int(i) for i in input().split()]
chest = sum([a[i] for i in range(n) if i%3==0])
biceps = sum([a[i] for i in range(n) if i%3==1])
back = sum([a[i] for i in range(n) if i%3==2])
if chest>biceps and chest>back:
    print('chest')
elif biceps>back:
    print('biceps')
else:
    print('back')


'''
@author: linhz
Greg's Workout
http://codeforces.com/problemset/problem/255/A
'''
n=int(input())
exercise=list(map(int,input().split()))
#print(exercise)
res=[0,0,0]
for i in range(len(exercise)):
    res[i%3]+=exercise[i]
#print(res)
if res[0]>= res[1] and res[0]>=res[2]:
    print("chest")
elif res[1]>= res[0] and res[1]>=res[2]:
    print("biceps")
else:
    print("back")