//filename:P95_13.java
import java.util.*;
class Student
{
String id,name,sex,leader;
double Math,Chinese,English;
void shuru()
{
Scanner buf=new Scanner(System.in);
Math=buf.nextInt();
Scanner buf1=new Scanner(System.in);
Chinese=buf1.nextInt();
Scanner buf2=new Scanner(System.in);
English=buf2.nextInt();
}
double zongfen()
{
return (Math+Chinese+English);
}
double pingjun()
{
return (Math+Chinese+English)/3;
}
}
public class P95_13
{
public static void main(String[] args)
{
Student stu;
stu=new Student();
stu.id="01";
stu.name="张三";
stu.sex="男";
stu.leader="是";
stu.shuru();
System.out.println("学号="+stu.id+" 姓名="+stu.name+" 性别="+stu.sex+" 班干部否="+stu.leader);
System.out.println("数学="+stu.Math+" 语文="+stu.Chinese+" 英语="+stu.English+" 总分="+stu.zongfen()+"平均分="+stu.pingjun());
}
}