#includeint main(){int a,d,n,s; scanf("%d%d%d",&a,&d,&n); s=(a+a+(n-1)*d)*n/2; printf("%d\n",s); return 0;}