#include<stdio.h>
int main()
{
    int a[4]={0},n,m,i;
    scanf("%d",&n);
    for(i=0;i<=n-1;i++)
    {
        scanf("%d",&m);
        a[i%3]+=m;    
    }
    if(a[0]>a[1]&&a[0]>a[2])printf("chest");
    else if(a[1]>a[0]&&a[1]>a[2])printf("biceps");
    else printf("back");
    return 0;
}

http://codeforces.com/contest/255/problem/A

posted on 2013-01-18 23:14  海暗  阅读(96)  评论(0编辑  收藏  举报