import java.util.Scanner;
////import java.util.*;
////
////public class main {
////
//// public static void main(String[] args)
//// {
//// Scanner t = new Scanner(System.in);
////
////// int [][]map = new int[a][b];
////
//// int n = t.nextInt();
//// int []map = new int[n];
////
//// for (int i=0; i<n; i++)
//// {
//// int k = t.nextInt();
//// map[i] = k;
//// }
////
//// for(int i=0; i<n; i++)
//// {
//// for(int j=i; j<i+n; j++)
//// {
//// System.out.print(map[j%n]+" ");
//// }
//// System.out.println();
//// }
////
//// }
////}
//
//import java.util.*;
//
//class sub{
//
//}
//
//public class Main {
// int a, b, c;
//
// Main() {
// a = 10;
// b = 20;
// c = 30;
// }
// Main(int a, int b, int c) {
// // method overloading
//
// }
//
// public int voice() {
//
// return 0;
// }
//
// // main method
// public static void main(String[] args) {
// new Main(10, 20, 30);
// subload s = new subload();
// s.a=10;
// s.setB(100);
// s.c = 300;
// }
//}
//class sub {
// int a;
// static int b;
//
// void show() {
// System.out.println(a + " " + b);
// }
//}
//
//public class Main {
// public static void main(String[] args) {
// sub a = new sub();
// a.show();
// a.a = 10;
// a.b = 20;
// a.show();
// sub b = new sub();
// b.show();
// b.b = 500;
// a.show();
// }
//}
//class TV{
// String name;
// int year;
// int inch;
//
// TV() {
//
// }
// // wrapper class
// TV(String name, int year, int inch) {
// this.name = name;
// this.year = year;
// this.inch = inch;
//
// }
// void show() {
// System.out.println(name+"에서 만든 "+year+"년형 "+inch+"인치");
// }
//}
//
//public class Main{
//
// public static void main(String[] args) {
// TV myTV = new TV("LG", 2017, 32);
// myTV.show();
//
// }
//}
class Grade {
int math;
int science;
int english;
Grade(){
}
Grade(int math, int science, int english){
this.math = math;
}
double average() {
return (double)(this.math+science+english)/3;
}
}
public class Main{
public static void main(String[] args) {
Scanner t = new Scanner(System.in);
System.out.print("수학, 과학, 영어 순으로 3개의 점수 입력 >> ");
int math = t.nextInt();
int science = t.nextInt();
int english = t.nextInt();
Grade me = new Grade(math, science, english);
System.out.println("평균은"+me.average());
t.close();
}
}