a=str(input("Input the filename: "))
if(a[-5:]==".java"):
    print("The extension of the file is: 'Java' ")
if(a[-2:]==".c"):
    print("The extension of the file is: 'C' ")
if(a[-3:]==".cc"):
    print("The extension of the file is: 'C++' ")
if(a[-3:]==".py"):
    print("The extension of the file is: 'Python' ")
