Take one piece

Your task Split date at the - and print only the first piece, the year.

Getting the editor ready