#include <stdio.h>

int main() {
    long long N;
    scanf("%lld", &N);

    if(N%2==0){
        printf("S");
    }else{
        printf("N");
    }

    
    if(N%3==0){
        printf("S");
    }else{
        printf("N");
    }

    
    if(N%5==0){
        printf("S");
    }else{
        printf("N");
    }
    
    
    if(N%11==0){
        printf("S");
    }else{
        printf("N");
    }
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: