Buggy python submission (verdict: Runtime Error):
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
int(a)
b = raw_input()
int(b)
h = raw_input()
int(h)
ans = solve(a, b, h)
print ans


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
import sys


def solve(a, b, h):
    return (a + b) * h / 2


a = sys.stdin.readline().rstrip()
int(a)
b = sys.stdin.readline().rstrip()
int(b)
h = sys.stdin.readline().rstrip()
int(h)
ans = solve(a, b, h)
print ans


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
import sys


def solve(a, b, h):
    return (a + b) * h / 2


a = sys.stdin.readline().rstrip()
int(a)
b = sys.stdin.readline().rstrip()
int(b)
h = sys.stdin.readline().rstrip()
int(h)
ans = solve(a, b, h)
print "{0}".format(ans)

Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
# encoding: utf-8

import sys

def solve(a, b, h):
    return (a + b) * h / 2


a = sys.stdin.readline().rstrip()
int(a)
b = sys.stdin.readline().rstrip()
int(b)
h = sys.stdin.readline().rstrip()
int(h)
ans = solve(a, b, h)
print "{0}".format(ans)


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
# encoding: utf-8

import sys

def solve(a, b, h):
    return (a + b) * h / 2

def main():
    a = sys.stdin.readline().rstrip()
    int(a)
    b = sys.stdin.readline().rstrip()
    int(b)
    h = sys.stdin.readline().rstrip()
    int(h)
    ans = solve(a, b, h)
    print "{0}".format(ans)


if __name__ == "__main__":
    main()


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
# encoding: utf-8


import sys


def solve(a, b, h):
    return (a + b) * h / 2


def main():
    a = sys.stdin.readline().rstrip()
    int(a)
    b = sys.stdin.readline().rstrip()
    int(b)
    h = sys.stdin.readline().rstrip()
    int(h)
    print solve(a, b, h)


if __name__ == "__main__":
    main()


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
# encoding: utf-8


import sys


def solve(a, b, h):
    return (a + b) * h / 2.


def main():
    a = sys.stdin.readline().rstrip()
    int(a)
    b = sys.stdin.readline().rstrip()
    int(b)
    h = sys.stdin.readline().rstrip()
    int(h)
    print solve(a, b, h)


if __name__ == "__main__":
    main()


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans

Buggy python submission (verdict: Runtime Error):
# encoding: utf-8


import sys


def solve(a, b, h):
    return (a + b) / h / 2.


def main():
    a = sys.stdin.readline().rstrip()
    int(a)
    b = sys.stdin.readline().rstrip()
    int(b)
    h = sys.stdin.readline().rstrip()
    int(h)
    print solve(a, b, h)


if __name__ == "__main__":
    main()


Fixed submission:
def solve(a, b, h):
    return (a + b) * h / 2


a = raw_input()
a = int(a)
b = raw_input()
b = int(b)
h = raw_input()
h = int(h)
ans = solve(a, b, h)
print ans