def main(): w,z,b=input().split() ans = (int(w)+int(z))*(float(b)+1) print(int(ans)) if __name__ == "__main__": main()