Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
h = int(input())

print(int((a+b)*h //2)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
a, b, h = list(map(int, str.split("\n")))
S = (int(a) + int(b)) * int(h) // 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
# coding: UTF8
a, b, h = list(map(int, int(input()).split("\n"))) 

S = int((a + b) * h // 2)
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
# coding: UTF8
a, b, h = list(map(int, int(input()).split("\n"))) 

S = int((a + b) * h // 2)
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
# coding: UTF8
a, b, h = int(list(map(int, input().split("\n"))))

S = int((a + b) * h // 2)
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
# coding: UTF8
a, b, h = list(map(int, input().split("\n"))) 

S = int((a + b) * h // 2)
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
# coding: UTF8
N = 3
# N = int(input())

str = [input() for i in range(N)]
# print str
a = str[0]
b = str[1]
h = str[2]

S = (a + b) * h // 2
print(S)


Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
N = int(input())
str = [input() for i in range(N)]
# print str
a = str[0]
b = str[1]
h = str[2]

S = (a + b) * h // 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
N = input()
str = [input() for i in range(N)]
# print str
a = str[0]
b = str[1]
h = str[2]

S = (a + b) * h // 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
a, b, h = list(map(int, input().split("\n")))
S = (a + b) * h // 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
a, b, h = list(map(int, input().split("\n")))

S = (a + b) * h / 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
N = input()
str = [input() for i in range(N)]
print str
a = str[0]
b = str[1]
h = str[2]

S = (a + b) * h / 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))

Buggy python submission (verdict: Runtime Error):
a, b, h = list(map(int, input().split("\n")))
S = (a + b) * h / 2
print(S)

Fixed submission:
a = int(input())
b = int(input())
h = int(input())
 
print(int((a+b)*h//2))