<>;print$_%45?N:Y,$/for<>