You are given a rectangular board of *M* × *N* squares. Also you are given an unlimited number of standard domino pieces of 2 × 1 squares. You are allowed to rotate the pieces. You are asked to place as many dominoes as possible on the board so as to meet the following conditions:

1. Each domino completely covers two squares.

2. No two dominoes overlap.

3. Each domino lies entirely inside the board. It is allowed to touch the edges of the board.

Find the maximum number of dominoes, which can be placed under these restrictions.
In a single line you are given two integers *M* and *N* — board sizes in squares (1 ≤ *M* ≤ *N* ≤ 16).
# print('Amanuel Tadesse')
#
# name = "team company";
# age = 25;
#
# print(name)
# print(age)
#
# full_name = 'amanuel tadess'
# print(full_name)
#
# width, height = 400, 500;
#
# print(width)
# print(height)
#
# # your_name = input('please inter your name')
# # print(your_name)
#
# num1 =input('enter first number: ')
# num2 =input('enter second number: ')
# print(int(num1)+int(num2))
#
# food_amount = float(input('enter food_amount:'))
# tip_percent = float(input('inter tip percentage:'))
# tip = food_amount * tip_percent/100;
#
# total_amount = food_amount + tip;
# print('_______________________________')
# print(f'food amount:  ${food_amount}')
# print(f'tip amount:   ${tip}')
# print(f'total amount: ${total_amount}')
# print('--------------------------------')
#
# weather = 'rain'
#
# if weather == 'rain':
#     print('grab umbrella')
# else:
#     print('wear sun-glass')
#

# score = float(input('enter your score: '))
# if score >= 90:
#     print('A')
# elif score >= 80:
#     print('B')
# elif score >= 70:
#     print('C')
# elif score >= 60:
#     print('D')
# elif score < 60:
#     print('F')
# else:
#     print('you enter the wrong score... try again')


# class Solution(object):
#     def fizzBuzz(self, n):
#         i = []
#
#         for x in range(1, n + 1):
#             if x % 3 == 0 and x % 5 == 0:
#                 i.append("FizzBuzz")
#             elif x % 3 == 0:
#                 i.append("Fizz")
#             elif x % 5 == 0:
#                 i.append("Buzz")
#             else:
#                 i.append(str(x))
#
#         print(i)
#
#
# p1 = Solution()
# p1.fizzBuzz(3)


class Domino:
    def __init__(self,width,height):
        rectangle = width * height
        domino = 2
        output  = rectangle/domino
        print(int(output))


result = Domino(2,4)




