using System;
using System.Collections.Generic;
using System.Text;
namespace GetSexByIDCard
{
class Program
{
static void Main(string[] args)
{
string IdNum = Console.ReadLine();
if (IdNum.Length == 18)
{//
IdNum = IdNum.Substring(14, 3);//15-17
if (int.Parse( IdNum) / 2 == 0)
{
Console.WriteLine("女性");
}
else
{
Console.WriteLine("男性");
}
}
else if (IdNum.Length == 15)
{
IdNum = IdNum.Substring(12, 3);//13-15位
if (int.Parse(IdNum) / 2 == 0)
{
Console.WriteLine("女性");
}
else
{
Console.WriteLine("男性");
}
}
else
{
Console.WriteLine("输入的身份证号码有误!");
}
Console.ReadLine();
}
}
}