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