Problem:


Score : 100 points

Problem Statement

You are given a trapezoid. The lengths of its upper base, lower base, and height are a, b, and h, respectively.

An example of a trapezoid

Find the area of this trapezoid.

Constraints

1≦a≦100

1≦b≦100

1≦h≦100

All input values are integers.

h is even.

Input

The input is given from Standard Input in the following format:

a
b
h

Output

Print the area of the given trapezoid. It is guaranteed that the area is an integer.

Sample Input 1

3
4
2

Sample Output 1

7

When the lengths of the upper base, lower base, and height are 3, 4, and 2, respectively, the area of the trapezoid is (3+4)×2/2 = 7.

Sample Input 2

4
4
4

Sample Output 2

16

In this case, a parallelogram is given, which is also a trapezoid.



Sample input:
3
4
2


Sample output:
7

Submission status: Runtime Error

Solution code:
print((int(input())+int(input()))*int(input()//2)

Submission status: Runtime Error

Solution code:
# 入力
a, b, h = map(int, input().split())

# 処理
answer = (a + b) * h /2

# 出力
print(int(answer))

Submission status: Runtime Error

Solution code:
# 入力
a, b, h = map(int, input().split())

# 処理
answer = (a + b) * h /2

# 出力
print(answer)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a = input(int)
b = input(int)
h = input(int)

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

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())
print((b+a)*h/2)

Submission status: Runtime Error

Solution code:
a,b,h=int(input.split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())

answer = (a + b) * c / 2

print(answer)

Submission status: Runtime Error

Solution code:
a, b, h = [input() for _ in range(3)]
print(int((a + b) * h / 2))

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print((a+b)/h)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
print(in(((a+b)*h)/2))

Submission status: Runtime Error

Solution code:
a = int(input()
b = int(input())
h = int(input())
print( (a+b)*h//2 )

Submission status: Runtime Error

Solution code:
list = []

for i in range(3):
    list.append(int(input()))

area = (list[0]+list[1])*list[2]/2)


print(int(area))

Submission status: Runtime Error

Solution code:
a = int(input().split())
b = int(input().split())
h = int(input().split())
print(((a+b)*h)//2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
area = 0.5(a+b)*h
print(area)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
c=input()
def method_name():
    print=str((a+b)*c/2)
    return method_name(print)

print = method_name()

Submission status: Runtime Error

Solution code:
a,b,c=(int(x) for x in input().split())
d=(a+b)*c/2
print(d)

Submission status: Runtime Error

Solution code:
  a, b, h = [int(input()) for _ in range(3)]
  print((a+b)*h / 2)

Submission status: Runtime Error

Solution code:
  a, b, h = map(int(input().split())
  print((a+b)*h / 2)

Submission status: Runtime Error

Solution code:
  a, b, h = (int(input()) for i in range(3))
  print((a+b)*h / 2)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())

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

Submission status: Runtime Error

Solution code:
a = int (input ())
b = int (input ())
h = int (input ()/2)
print ((a+b)*h)

Submission status: Runtime Error

Solution code:
import sys

def main(a,b,h):
    reuturn (a+b)*h//2

a =int(sys.stdin.readline().strip())
b =int(sys.stdin.readline().strip())
h =int(sys.stdin.readline().strip())

print(main(a,b,h))

Submission status: Runtime Error

Solution code:
import sys

def main(a,b,h)
    reuturn (a+b)*h//2

a =int(sys.stdin.readline().strip())
b =int(sys.stdin.readline().strip())
h =int(sys.stdin.readline().strip())

print(main(a,b,h))

Submission status: Runtime Error

Solution code:
import sys

def main(a,b,h)
    reuturn (a+b)*h//2

a =int(sys.stdin.readlin().strip())
b =int(sys.stdin.readlin().strip())
h =int(sys.stdin.readlin().strip())

print(main(a,b,h))

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print(int((a+b)*h/2))

Submission status: Runtime Error

Solution code:
print（）

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
def actual(a, b, h):
    return int((a + b) * h / 2)

a, b, h = map(int, input().split())
print(actual(a, b, h))

Submission status: Runtime Error

Solution code:
def actual(a, b, h):
    return int((a + b) * h / 2)

a, b, h = map(int, input())
print(actual(a, b, h))

Submission status: Runtime Error

Solution code:
a,b,h=[int(i) for i in input()]
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
h=input()

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

Submission status: Runtime Error

Solution code:
print(int((int(input()) + int(input)) * int(input()) / 2))

Submission status: Runtime Error

Solution code:
a - int(input())
b = int(input())
h = int(input())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a,b,h = map(int,input().split())]

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

Submission status: Runtime Error

Solution code:
a = input()
b = input()
h = input()

area = (a + b)*h/2

print(area)

Submission status: Runtime Error

Solution code:
(a + b)x h / 2

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())

area = (a+b)*h%2
print(area)

Submission status: Runtime Error

Solution code:
(a+b)*h%2

Submission status: Runtime Error

Solution code:
a, b, h = list(map(int, input().split()))
print((a + b) * h // 2)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
h = input()
sum = a + b 
print(sum * h /2)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
h = input()

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

Submission status: Runtime Error

Solution code:
sumjk = a + b
print ( sumjk * h / 2)

Submission status: Runtime Error

Solution code:
print (a + b) *h /2

Submission status: Runtime Error

Solution code:
H, W , N = map(int,input().split())
from bisect import bisect_left
from bisect import bisect_right
matrix = []
for _ in range(N):
    x,y = map(int,input().split())
    x -= 1
    y -= 1
    matrix.append([x,y])
matrix.sort()
ans = [0 for _ in range(10)]
cand = {}
for l in matrix:
    for x_r in [-2, -1 , 0]:
        for y_r in [-2, -1 , 0]:
            nowx = l[0] + x_r
            nowy = l[1] + y_r
            if nowx < 0 or nowy < 0 or nowx + 2>= H or nowy+ 2 >= W:
                continue
            #ここで起点(左上)nowx, nowy として　 9マスに着目する
            name = str(nowx) + ' '  +str(nowy)
            if name in cand : cand[name] += 1
            else: cand[name] = 1
tmp = ((H - 2) * (W - 2))
for x in cand.values():
    ans[x] += 1
    tmp -= 1
ans[0] = tmp
for x in ans:
    print(x)

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri May 15 12:41:57 2020

@author: shinba
"""

a,b,h = map(int,input().split())

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

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

#############
# Libraries #
#############

import sys
input = sys.stdin.readline

import math
from collections import deque
from fractions import gcd
from functools import lru_cache


#############
# Constants #
#############

MOD = 10**9+7
INF = float('inf')

#############
# Functions #
#############

######INPUT######
def inputI(): return int(input().strip())
def inputS(): return input().strip()
def inputIL(): return list(map(int,input().split()))
def inputSL(): return list(map(str,input().split()))
def inputILs(n): return list(int(input()) for _ in range(n))
def inputSLs(n): return list(input().strip() for _ in range(n))
def inputILL(n): return [list(map(int, input().split())) for _ in range(n)]
def inputSLL(n): return [list(map(str, input().split())) for _ in range(n)]

#####Inverse#####
def inv(n): return pow(n, MOD-2, MOD)

######Combination######
kaijo_memo = []
def kaijo(n):
  if(len(kaijo_memo) > n):
    return kaijo_memo[n]
  if(len(kaijo_memo) == 0):
    kaijo_memo.append(1)
  while(len(kaijo_memo) <= n):
    kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD)
  return kaijo_memo[n]

gyaku_kaijo_memo = []
def gyaku_kaijo(n):
  if(len(gyaku_kaijo_memo) > n):
    return gyaku_kaijo_memo[n]
  if(len(gyaku_kaijo_memo) == 0):
    gyaku_kaijo_memo.append(1)
  while(len(gyaku_kaijo_memo) <= n):
    gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD)
  return gyaku_kaijo_memo[n]

def nCr(n,r):
  if(n == r):
    return 1
  if(n < r or r < 0):
    return 0
  ret = 1
  ret = ret * kaijo(n) % MOD
  ret = ret * gyaku_kaijo(r) % MOD
  ret = ret * gyaku_kaijo(n-r) % MOD
  return ret

######Factorization######
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])
    return arr

#####LCM#####
def lcm(a, b):
    return a * b // gcd (a, b)

#############
# Main Code #
#############

a,b,h = inputILs(3)

print(((a+b)*H)//2)

Submission status: Runtime Error

Solution code:
print((int(readline()) + int(readline())) * int(readline()) // 2)

Submission status: Runtime Error

Solution code:
(a+b)*h/2

Submission status: Runtime Error

Solution code:
return (a+b)*h/2

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(inupt())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
h=input()
print((int(a)+int(b)*int(h)//2)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=int(input())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a, b, h = [int(input()) for i in range(4)]

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

Submission status: Runtime Error

Solution code:
lines = []
while True:
	s =input()
	if s:
		lines.append(s)
	else:
		break;
area=(int(lines[0])+int(lines[1]))/2*int(lines[2])
print(area)

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7


a,b,h=MI()
ans=(a+b)*h//2
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c=[int(input()) for i range(3)]
print(((a+b)*c)/2)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
print((a + b) * h // 2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())

print(2(a+b)*h)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())

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

Submission status: Runtime Error

Solution code:
A, B, H = map(int, input().split())

print((A+B)*H//2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())

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

Submission status: Runtime Error

Solution code:
c = a+b
print(int(c*h/2))

Submission status: Runtime Error

Solution code:
c = a+b
print(c*h/2)

Submission status: Runtime Error

Solution code:
h = list(input() for i in range(3))
hand = {'a':h[0], 'b':h[1], 'c':h[2]}   # 各手札
count = {'a':0, 'b':0, 'c':0}   # 捨てた枚数

def who_is_the_winner(ch):
    if ch == 'a':
        winner = 'A'
    elif ch == 'b':
        winner = 'B'
    else:
        winner = 'C'
    return winner

ch = hand['a'][0]
while True:
    if count[ch] == len(hand[ch]):
        winner = who_is_the_winner(ch)
        print(winner)
        break
    count[ch] += 1
    ch = hand[ch][count[ch]-1]

Submission status: Runtime Error

Solution code:
a = [int(input()) for i in range(4)]
ans = ((a[0]+a[1]) * a[2]) / 2

print(str(ans))

Submission status: Runtime Error

Solution code:
a = input()
b = input()
c = input()
d = 0
d = a + b
d = d * c / 2
print(d)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
c = input()

d = 0
d = a + b
d = d * c / 2

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
print( (a+b) * h // 2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
ans = (a+b)*h//2
input(ans)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())
print(((a+b)*h)//2))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())
print((a+b)*h/2))

Submission status: Runtime Error

Solution code:
a=int(input())
a=int(input())
a=int(input())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
print(int((a+b)*h/2))

Submission status: Runtime Error

Solution code:
int("(a+b)*h/2")

Submission status: Runtime Error

Solution code:
a,b,h = map(int,input().split())

answer = (a + b) * h / 2

print(int(answer))

Submission status: Runtime Error

Solution code:
a,b,h = map(int,input().split())

answer = (a + b) * h / 2

print(answer)

Submission status: Runtime Error

Solution code:
S = {c:list(input()) for c in "abc"}
s = "a"
while S[s]:s = S[s].pop(0)
print(s.upper())

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
print(a+b*h//2)

Submission status: Runtime Error

Solution code:
def foo (a,b,h)
	x = 0
  	x += (a+ b) /2
    x *= h
    return x

Submission status: Runtime Error

Solution code:
a=int(iput())
b=int(input())
h=int(input())
print(int((a+b)*h/2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
k = (a + b)* h /2
print(round(k)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
print(int((a+b)＊h//2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
print((a+b)＊h//2)

Submission status: Runtime Error

Solution code:
a= int(input())
b= int(input())
k= int(input())
h= int(input())
h=2＊k
print((a+b)＊h/2)

Submission status: Runtime Error

Solution code:
a,b,h = [int(input()) for i in range(3)
print((a + b)*h/2)

Submission status: Runtime Error

Solution code:
x=int(input()
y=int(input()
z=int(input()
print((x+y)*z/2)

Submission status: Runtime Error

Solution code:
a,b,h = list(map(int, input().split()))
print((a+b)*h / 2)

Submission status: Runtime Error

Solution code:
A,B,C = map(int, input().split())
print((A+B)*C)

Submission status: Runtime Error

Solution code:
for i in range(3):
  A[i]=int(input())
#print(A)
ans=(A[0]+A[1])*A[2]/2
print(ans)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
h=input()
ans = (a+b)*h/2
print(ans)

Submission status: Runtime Error

Solution code:
ans = (a+b)*h/2
print(ans)

Submission status: Runtime Error

Solution code:
(a+b)*h/2

Submission status: Runtime Error

Solution code:
a = int.print(a)
b = int.print(b)
h = int.print(h)

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

Submission status: Runtime Error

Solution code:
for i in range(3):
    a,b,h = int(input())

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

Submission status: Runtime Error

Solution code:
input = open(0).readline
s = {}
s['A'] = list(input().strip())
s['B'] = list(input().strip())
s['C'] = list(input().strip())

play_order = {'A':'B', 'B':'C', 'C':'A'}

def play(player):
    
    if  len(s[player]) == []:
        play(play_order[player])
    
    next_play = s[player].pop()
    if len(s[player]) == 0:
        print(player)
        return player
    #print(next_play)
    play(next_play.upper())
        
print(play('A'))

Submission status: Runtime Error

Solution code:
input = open(0).readline
s = {}
s['A'] = list(input().strip())
s['B'] = list(input().strip())
s['C'] = list(input().strip())

play_order = {'A':'B', 'B':'C', 'C':'A'}

def play(player):
    

    
    next_play = s[player].pop()
    if len(s[player]) == 0:
        
        return player
    #print(next_play)
    play(next_play.upper())
        
print(play('A'))

Submission status: Runtime Error

Solution code:
input = open(0).readline
s = {}
s['A'] = list(input().strip())
s['B'] = list(input().strip())
s['C'] = list(input().strip())

play_order = {'A':'B', 'B':'C', 'C':'A'}

def play(player):
    
    if  len(s[player]) == 0:
        play(play_order[player])
    
    next_play = s[player].pop()
    if len(s[player]) == 0:
        
        return player
    #print(next_play)
    play(next_play.upper())
        
print(play('A'))

Submission status: Runtime Error

Solution code:
input = open(0).readline
s = {}
s['A'] = list(input().strip())
s['B'] = list(input().strip())
s['C'] = list(input().strip())

play_order = {'A':'B', 'B':'C', 'C':'A'}

def play(player):
    
    if  len(s[player]) == 0:
        play(play_order[player])
    
    next_play = s[player].pop()
    if len(s[player]) == 0:
        print(player)
        return player
    #print(next_play)
    play(next_play.upper())
        
play('A')

Submission status: Runtime Error

Solution code:
input = open(0).readline
s = {}
s['A'] = list(input().strip())
s['B'] = list(input().strip())
s['C'] = list(input().strip())

play_order = {'A':'B', 'B':'C', 'C':'A'}

def play(player):
    
    if  len(s[player]) == 0:
        play(play_order['A'])
    
    next_play = s[player].pop()
    if len(s[player]) == 0:
        print(player)
        return player
    #print(next_play)
    play(next_play.upper())
        
play('A')

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())

print({a + b} * h // 2)

Submission status: Runtime Error

Solution code:
a, b, h = [int(input()) for i in range(3)]
print(int((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print((((a+b)*h)//2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print(((a+b)*h)/2)

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
print(((a+b)*c)/2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
print((a+B)*h//2)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
h = input()

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

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
print((a+b)*c/2)

Submission status: Runtime Error

Solution code:
data = int(input().split())

print((data[0]+data[1])*data[2]/2)

Submission status: Runtime Error

Solution code:
from sys import stdin

input_data = int(stdin.readline().rstrip())

print((input[0]+input[1])*input[3]/2)

Submission status: Runtime Error

Solution code:
import sys
 
a,b,h=map(int,input().split())

square = (a + b) * h / 2

print(int(square))

Submission status: Runtime Error

Solution code:
import sys
 
a,b,h=map(int,input().split())

square = (a + b) * h / 2

print(square)

Submission status: Runtime Error

Solution code:
sa = [s for s in input()]
sb = [s fir s in input()]
sc = [s for s in input()]

next_turn = "a"
flag = True

while flag:
    if next_turn == "a":
        if len(sa) == 0:
            print("A")
            flag = False
        else:
            next_turn = sa.pop(0)
    elif next_tunr == "b":
        if len(sb) == 0:
            print("B")
            flag = false
        else:
            next_turn = sb.pop(0)
    elif next_turn == "c":
        if len(sc) ==0:
            print("C")
            flag = False
        else:
            next_turn = sc.pop(0)

Submission status: Runtime Error

Solution code:
print((int(input()+int(input())*(int(input())//2))

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
print((input() + input()) * input() / 2)

Submission status: Runtime Error

Solution code:
// abc045_a
#include <bits/stdc++.h>
#ifdef LOCAL
#include "../cxx-prettyprint/prettyprint.hpp"
#endif
using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> P;

#define REP(i, n) for (int (i) = 0 ; (i) < (int)(n) ; ++(i))
#define REPN(i, m, n) for (int (i) = m ; (i) < (int)(n) ; ++(i))
#define REP_REV(i, n) for (int (i) = (int)(n) - 1 ; (i) >= 0 ; --(i))
#define REPN_REV(i, m, n) for (int (i) = (int)(n) - 1 ; (i) >= m ; --(i))
#define ALL(x) x.begin(), x.end()

#define INF ((1 << 29)-1)
#define MOD (1000000007)

#define print2D(h, w, arr) REP(i, h) { REP(j, w) cout << arr[i][j] << " "; cout << endl; }
#define print_line(vec, n) {for(int i=0;i<(n-1);i++) cout << (vec)[i] << " "; cout << (vec)[(n)-1] << endl;}
template<class T> void print(const T& x){cout << x << endl;}
template<class T, class... A> void print(const T& first, const A&... rest) { cout << first << " "; print(rest...); }
struct PreMain {PreMain(){cin.tie(0);ios::sync_with_stdio(false);cout<<fixed<<setprecision(20);}} premain;

int main() {
#ifdef LOCAL
    ifstream in("../arg.txt"); cin.rdbuf(in.rdbuf());
#endif

    int a, b, h;
    cin >> a >> b >> h;

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

    return 0;
}

Submission status: Runtime Error

Solution code:
data = [int(input()) for i in range(3)]
result = data[0]+data[1])*data[2]*0.5
if result == int(result) :
  print(int(result))
else :
  print(result)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())

print(((a+b)＊h)//2)

Submission status: Runtime Error

Solution code:
a,b,h = map(int, input().split())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a, b, h = map(int,input().split())
print(((a+b)*h)//2)

Submission status: Runtime Error

Solution code:
a, b, h = map(int.input().split())
print(((a+b)*h)//2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())

print((a+b)*h)

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
int main(){
  int a, b, h;
  cin >> a >> b >> h;
  cout << (a+b)*h/2 << endl;
}

Submission status: Runtime Error

Solution code:
a,b,h=list(map(int,input().split()))
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a,b,h= map(int, input().split())
print((a+b)*h/2)a,b,h=map(int,input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
a,b,h= map(int, input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
lis=list(map(int, list(input() for i in range(3)))

tn=0

while len(l[tn])>0:
    if l[tn][0]=="a":
        l[tn]=l[tn][1:]
        tn=0
    elif l[tn][0]=="b":
        l[tn]=l[tn][1:]
        tn=1
    elif l[tn][0]=="c":
        l[tn]=l[tn][1:]
        tn=2
if tn==0:
    print("A")
elif tn==1:
    print("B")
elif tn==2:
    print("C")

Submission status: Runtime Error

Solution code:
a

Submission status: Runtime Error

Solution code:
l=[int(input()) for in in range(3)]
a=l[0]
b=l[1]
h=l[2]
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
l=list(map(int,input().split()))
a=l[0]
b=l[1]
h=l[2]
print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
ans = (a+b)*h/2
print()ans

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split());print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
print(int((a + b) * h / 2))

Submission status: Runtime Error

Solution code:
import sys
args=sys.argv
s=((args[1]+args[2])*args[2])/2
print(s)

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
int a,b,h;
int main{
 cin>>a>>b>>h;
 cout<<(a+b)*h*.5<<endl;
 return 0;
}

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
int main{
 cin>>a>>b>>h;
 cout<<(a+b)*h*.5<<endl;
 return 0;
}

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())

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

Submission status: Runtime Error

Solution code:
N = int(input())
S = [1 if a == "I" else -1 for a in input()]
ma = 0
a = 0
for i in range(N):
    a += S[i]
    ma = max(ma, a)
print(ma)

Submission status: Runtime Error

Solution code:
a , b , h = [int(input()) for _ in range(3)]
printint(((a + b) * h / 2))

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())
print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
print((a + b) * h // 2)

Submission status: Runtime Error

Solution code:
A=input() 
B=input() 
C=input() 

i=0
j=0
k=0
c=0

while(True):
    if(c==0):
        if(i>=(len(A)+1)):
            print("A")
            exit()
        if(A[i]=="a"):
            i+=1
            c=0
        elif(A[i]=="b"):
            j+=1
            c=1
        else:
            k+=1
            c=2

    elif(c==1):
        if(j>=(len(B)+1)):
            print("B")
            exit()
        if(B[j]=="a"):
            i+=1
            c=0
        elif(B[j]=="b"):
            j+=1
            c=1
        else:
            k+=1
            c=2
    else:
        if(k>=(len(C)+1)):
            print("C")
            exit()
        if(C[k]=="a"):
            i+=1
            c=0
        elif(C[k]=="b"):
            j+=1
            c=1
        else:
            k+=1
            c=2

Submission status: Runtime Error

Solution code:
a = {i:list(input()) for i in "abc"};b="a"
while a[b]: b=a[b].pop(0)
print(b.upper())

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())

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

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())

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

Submission status: Runtime Error

Solution code:
a,b,h=map(int,input().split())

print((a+B)*h/2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())

N = (a+b)*h/2

print(int(N))

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())

N = int((a+b)*h/2)

print(N)

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())

N = ((a+b)*h)/2

print(N)

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split())

N = (a+b)*h/2

print(N)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, imput().split())

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

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())
print(int(((a+b)*h/2))

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split());print((a+b)*h//2)

Submission status: Runtime Error

Solution code:
a,b,h=map(int, input().split());print((a+b)*h/2)

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a = int(input())
b = int(input())
h = int(input())
return (a + b) * h / 2

Submission status: Runtime Error

Solution code:
def resolve():
    a, b, h = map(int, input().split())
    print((a + b) * h // 2)


if __name__ == "__main__":
    resolve()

Submission status: Runtime Error

Solution code:
def resolve():
    a, b, h = list(map(int, input().split()))
    print((a + b) * h // 2)


if __name__ == "__main__":
    resolve()

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())
print((a+b)＊h/2)

Submission status: Runtime Error

Solution code:

	
def main():
	linie = input()
	vector = [int(x) for x in linie.split()]	
	x = vector[0]
	y = vector[1]
	h = vector[2]
	print(((x + y) * h) // 2)
 
if __name__ == "__main__":
	main()

Submission status: Runtime Error

Solution code:
S = {}

A = input()
B = input()
C = input()

S['a'] = A
S['b'] = B
S['c'] = C

player = 'a'
for i in range(len(A) + len(B) + len(C)):
    # pass
    # print(S[player][0])
    S[player] = S[player][1:]
    
    if len(S[player]) == 0:
        break
    
    player = S[player][0]
    

# print(A)
# print(B)
# print(C)

print(player.upper())

Submission status: Runtime Error

Solution code:
S = {}

A = input()
B = input()
C = input()

S['a'] = A
S['b'] = B
S['c'] = C

player = 'a'
for i in range(len(A) + len(B) + len(C)):
    # pass
    # print(S[player][0])
    player = S[player][0]
    S[player] = S[player][1:]
    
    if len(S[player]) == 0:
        break
    

# print(A)
# print(B)
# print(C)

print(player.upper())

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = int(input())
print(int(((a+b)*c)/2)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())
s=int((a+b)*h/2)
print("{}".format(s)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
h=int(input())
print({}.format((a+b)*h/2))

Submission status: Runtime Error

Solution code:
x=[]
for i in range(3):
  x[i]=int(input())
print((x[0]+x[1])*x[2]/2)

Submission status: Runtime Error

Solution code:
x=[]
for i in range(3):
  x[i]=int(input())
 print((x[0]+x[1])*x[2]/2)

Submission status: Runtime Error

Solution code:
import time
def trapezium(a,b,d):
    return (a+b)*d/2
A=int(input)
B=int(input)
D=int(input)
S=trapezium(A,B,D)
for i in range(20):
    print(chr(9608),end='')
    time.sleep(0.10)
print('\n',S)
input()

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
s = (a+b)*h/2
print(int(s))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())
x = (a + b)h/2
print(x)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
print((a+b)*int(h/2))

Submission status: Runtime Error

Solution code:
a,b,h = map(int,input().split())
x = (a + b) // h
print(x)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
S = (a+b)* h / 2
print(S)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
S = (a+b)/2 * h
S = int(S)
print(S)

Submission status: Runtime Error

Solution code:
a, b, h = map(int, input().split())
print(int((a+b)/2 * h))

Submission status: Runtime Error

Solution code:

b = int(input())
h = int(input())

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
h = int(input())

print(a*b*h/2)a = int(input())
b = int(input())
h = int(input())

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