#include <stdio.h>
int main() {
char prefix[10], name[50], surname[50], major[50], school[50];
int code, score;
char grade;
// รับข้อมูลนักศึกษา
// กำหนดเกรด
if (score >= 80) {
grade = 'A';
} else if (score >= 70) {
grade = 'B';
} else if (score >= 60) {
grade = 'C';
} else if (score >= 50) {
grade = 'D';
} else {
grade = 'F';
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgcHJlZml4WzEwXSwgbmFtZVs1MF0sIHN1cm5hbWVbNTBdLCBtYWpvcls1MF0sIHNjaG9vbFs1MF07CiAgICBpbnQgY29kZSwgc2NvcmU7CiAgICBjaGFyIGdyYWRlOwoKICAgIC8vIOC4o+C4seC4muC4guC5ieC4reC4oeC4ueC4peC4meC4seC4geC4qOC4tuC4geC4qeC4sgogICAgcHJpbnRmKCLguJvguYnguK3guJnguITguLPguJnguLPguKvguJnguYnguLI6ICIpOwogICAgc2NhbmYoIiVzIiwgcHJlZml4KTsKICAgIHByaW50Zigi4Lib4LmJ4Lit4LiZ4LiK4Li34LmI4LitOiAiKTsKICAgIHNjYW5mKCIlcyIsIG5hbWUpOwogICAgcHJpbnRmKCLguJvguYnguK3guJnguJnguLLguKHguKrguIHguLjguKU6ICIpOwogICAgc2NhbmYoIiVzIiwgc3VybmFtZSk7CiAgICBwcmludGYoIuC4m+C5ieC4reC4meC4o+C4q+C4seC4quC4meC4tOC4quC4tOC4lTogIik7CiAgICBzY2FuZigiJWQiLCAmY29kZSk7CiAgICBwcmludGYoIuC4m+C5ieC4reC4meC4oOC4suC4hOC4p+C4tOC4iuC4sjogIik7CiAgICBzY2FuZigiJXMiLCBtYWpvcik7CiAgICBwcmludGYoIuC4m+C5ieC4reC4meC4hOC4k+C4sDogIik7CiAgICBzY2FuZigiJXMiLCBzY2hvb2wpOwogICAgcHJpbnRmKCLguJvguYnguK3guJnguITguLDguYHguJnguJk6ICIpOwogICAgc2NhbmYoIiVkIiwgJnNjb3JlKTsKCiAgICAvLyDguIHguLPguKvguJnguJTguYDguIHguKPguJQKICAgIGlmIChzY29yZSA+PSA4MCkgewogICAgICAgIGdyYWRlID0gJ0EnOwogICAgfSBlbHNlIGlmIChzY29yZSA+PSA3MCkgewogICAgICAgIGdyYWRlID0gJ0InOwogICAgfSBlbHNlIGlmIChzY29yZSA+PSA2MCkgewogICAgICAgIGdyYWRlID0gJ0MnOwogICAgfSBlbHNlIGlmIChzY29yZSA+PSA1MCkgewogICAgICAgIGdyYWRlID0gJ0QnOwogICAgfSBlbHNlIHsKICAgICAgICBncmFkZSA9ICdGJzsKICAgIH0KCn0=