#C, <s>39</s> 37 bytes <!-- language: lang-c --> l(y){putchar("yn"[y%(y%25?4:16)>0]);}