#include <stdio.h>
typedef struct 
{
    int num;
    char name[10];
    int math;
    int word;
}student;
student Input(student s)
{
    scanf("%d %s %d %d",&s.num,s.name,&s.math,&s.word);
    return s;
}
int main() {
	student s1;
	s1=Input(s1);
	printf("%d\n%s\n %d\n %d\n",s1.num,s1.name,s1.math,s1.word);
	return 0;
}