W,Z,B=map(float,input().split()) W=int(W)//10 Z=int(Z)//10 B=int(B*10) print((W+Z)*(B+10))