A

关键在于正确地找出三个数字中的最大值,并将其与小李说的数进行比较。

#include <stdio.h>

int max(int x, int y) {  
    return (x > y) ? x : y;  
}  

int main() {
    int a, b, c, d;
    scanf("%d %d %d %d", &a, &b, &c, &d); 
    int s = max(a, b);
    s = max(s, c);
    if(s == d){
        printf("YES");
    }else{
        printf("NO");
    }
    return 0;
}