using System;
using System.IO;
public class Test
{
public static void Main()
{
string name = "notepad.exe";
string ext = Path.GetExtension(name).Replace(".", "");
Console.WriteLine(ext);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uSU87CgpwdWJsaWMgY2xhc3MgVGVzdAp7CglwdWJsaWMgc3RhdGljIHZvaWQgTWFpbigpCgl7CgkJICAgIHN0cmluZyBuYW1lID0gIm5vdGVwYWQuZXhlIjsKICAgICAgICAgICAgICAgICAgICBzdHJpbmcgZXh0ID0gUGF0aC5HZXRFeHRlbnNpb24obmFtZSkuUmVwbGFjZSgiLiIsICIiKTsgCiAgICAgICAgICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoZXh0KTsKCX0KfQ==