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();
}
}
}
Dim i As Integer, sum As Single, sr As Single, max As SingleDim k(10) As Single, q As IntegerDim zRandomizeFor i = 0 To 10k(i) = Rnd() * 30 - 10sum = sum + k(i)Cells(i + 1, 1) = Round(k(i), 2)If max < k(i) Thenmax = k(i)q = iEnd IfNextCells(i + 1, 1) = "max = " & maxsr = sum / 10k(q) = sri = 0For Each z In kCells(i + 1, 2) = Round(z, 2)i = i + 1NextCells(i + 1, 2) = dCells(i + 1, 2) = "sr = " & sr