 yanaberseneva 
                                                04.07.2019 17:20
                                                
                                                yanaberseneva 
                                                04.07.2019 17:20
                                             nubjoper 
                                                04.07.2019 17:20
                                                
                                                nubjoper 
                                                04.07.2019 17:20
                                             КотБарис1 
                                                11.06.2019 12:00
                                                
                                                КотБарис1 
                                                11.06.2019 12:00
                                             софьячубик 
                                                11.06.2019 12:00
                                                
                                                софьячубик 
                                                11.06.2019 12:00
                                             МагистрЕдаа 
                                                31.07.2019 09:00
                                                
                                                МагистрЕдаа 
                                                31.07.2019 09:00
                                             Foret228 
                                                31.07.2019 09:00
                                                
                                                Foret228 
                                                31.07.2019 09:00
                                             ŤằтьЯℌa2005 
                                                31.07.2019 09:00
                                                
                                                ŤằтьЯℌa2005 
                                                31.07.2019 09:00
                                             qwertyyuill 
                                                15.09.2019 05:50
                                                
                                                qwertyyuill 
                                                15.09.2019 05:50
                                             safirr 
                                                15.09.2019 05:50
                                                
                                                safirr 
                                                15.09.2019 05:50
                                            
using System;
namespace ConsoleApp6
{
class Program
{
static void Main(string[] args)
{
int x, y;
x = int.Parse(Console.ReadLine());
y = int.Parse(Console.ReadLine());
if (Math.Max(x, y) % 2 == 0)
Console.WriteLine(Math.Max(x, y).ToString());
else
Console.WriteLine((Math.Min(x,y)*Math.Max(x,y)/2.0).ToString());
Console.ReadKey();
}
}
}