#include using namespace std; typedef long long ll; // Welcome to my source code! int main() { int x, y, z; cin >> x >> y >> z; int ans = (x + y + z) / 2; cout << ans << endl; }