#include<bits/stdc++.h> using namespace std; int main(){ int zsa,zsb,zsc; cin>>zsa>>zsb>>zsc; cout<<(zsa+zsb)/zsc; return 0; }