using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter an integer: ");
int a = int.Parse(Console.ReadLine());
Console.Write("Enter an integer: ");
int b = int.Parse(Console.ReadLine());
int c = (a+b)/2;
Console.WriteLine(c);
}
}
}