#include <stdio.h>
#include <stdlib.h>

#define N 3
int main(void) {
    puts("!!!Input Datas Like: ddd sss dd dd dd!!!"); /* prints !!!Hello World!!! */
    fflush(stdout);
    int i;
    struct student {
        int number;
        char name[20];
        int math;
        int chinese;
        int english;
    } sts[N];

    for (i = 0; i < N; i++) {
        printf("sts[%d].number name math  chinese  english \n", i);
        fflush(stdout);
        scanf("%d%s%d%d%d", &sts[i].number, sts[i].name, &sts[i].math,
                &sts[i].chinese, &sts[i].english );
    }

    puts("\nNumber   name  math  chinese  english  ");
    for (i = 0; i < N; i++) {
        printf(" %4d%8s%4d   %4d     %4d \n", sts[i].number, sts[i].name,
                sts[i].math, sts[i].chinese, sts[i].english );
    }

    int e, ex = sts[0].english;
    for (i = 1; i < N; i++) {
        if (sts[i].english > ex) {
                    ex = sts[i].english;
                    e = i;
                }
            }
    printf("english :  %4d  %8s  %4d \n", sts[e].number, sts[e].name,
                sts[e].english);

    return 0;
}