#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int h,c,k,V,S;
scanf("%d %d %d",&h
,&c
,&k
);
V=h*c*k;
S=2*(h*c+h*k+c*k);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KaW50IG1haW4odm9pZCkgCnsKCWludCBoLGMsayxWLFM7CglzY2FuZigiJWQgJWQgJWQiLCZoLCZjLCZrKTsKCQoJVj1oKmMqazsKCXByaW50Zigi6auU56mNPSVkIixWKTsKCQoJUz0yKihoKmMraCprK2Mqayk7CglwcmludGYoIuihqOmdouepjT0lZCIsUyk7CgkKCXJldHVybiAwOwp9Cg==