#include<iostream> // cin\cout\endl using namespace std; int main(){ int x,y,c; cin>>x>>y>>c; cout<<(x+y)/c; }