#include using namespace std; #define int long long signed main(){ int X,Y,L; cin>>X>>Y>>L; cout<<(abs(X)-1+L)/L+(abs(Y)-1+L)/L+(X != 0)+(Y < 0)+(X == 0 && Y < 0)<