function Main(input){
	var xs = input.trim().split(' ').map(v=>parseInt(v,10));
	var result = xs.reduce(function (previous, current, index, xs) {
    return previous + current;
    });
    console.log(Math.ceil(result/xs.length)); 
}
Main(require('fs').readFileSync("/dev/stdin","utf8"));