#include <stdio.h>

int main() {
    int N1, N2, Media;
    scanf("%d", &N1);
    scanf("%d", &N2);
    Media=((N1*2)+(N2*3))/5;
    if(Media>=7){
        printf("Aprovado");
    }
    else if(Media<3){
        printf("Reprovado");
    }
    else{
        printf("Final");
    }
    return 0;
}

Embed on website

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