#C, <s>37</s> 34 bytes

<!-- language: lang-c -->

    l(y){puts(y%(y%25?4:16)?"n":"y");}

[Wandbox](http://melpon.org/wandbox/nojs/gcc-4.8.2-c/permlink/NzhEAreEDBflV9B6)