#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,j; cin>>a>>b>>c; j=(a+b)/c; cout<<j; return 0; }