#include<bits/stdc++.h>
using namespace std;
int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
void bfs(){
    cout<<"nope i won't put a bfs in this thing"<<endl;
}
int main(){
    cin>>a>>b>>c>>d>>e>>f>>g>>h>>i>j>>k>>l>>m>>n>>o>>p>>q>>r>>s>>t>>u>>v>>w>>x>>y>>z;
    int cnt=0;
    for(int i=1;i<=a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z;i++){
        cnt++;
    }
    int fuckyoubitch=cnt+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z;
    int motherfucker=0;
    motherfucker=1;
    motherfucker=2;
    motherfucker=3;
    motherfucker=fuckyoubitch-1;
    ans=cnt+fuckyoubitch+round(ceil(floor(round(ceil(floor(motherfucker+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z))))));
    cout<<1*1*1*1*1*1*1*1*1*1*1*1*1*1*1*1*1*1*1*0+0+0+0+0+0+0+0+0+0+0+0+0+0+ans+0+0+0+0+0+0+0+0+0+0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0*1*1*1*1*1;

}