#include <stdio.h>

int main() {
    int A, S;
    scanf("%d", &A);
    scanf("%d", &S);
    if(A+S<=50){
        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: