#include<iostream> using namespace std; int main(){ int x,y,d; cin>>x; cin>>y; cin>>d; cout<<(x+y)/d; return 0; }