public class TestStudent {
public static void main(String[] a){
Scanner input = new Scanner(System.in);
Student s1 = new Student();
s1.setStuNo(input.nextInt());
s1.setName(input.next());
try{
s1.setEnglish(input.nextInt());
}catch(Exception e1){
System.out.println(e1.getMessage());
}
try{
s1.setComputer(input.nextInt());
}catch(Exception e2){
System.out.println(e2.getMessage());
}
try{
s1.setMath(input.nextInt());
}catch(Exception e3){
System.out.println(e3.getMessage());
}
System.out.println(s1.toString());
}
}