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