#include using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;i>a>>b>>c>>d>>e>>f; x=c/a/2; y=d/a/2; r=f/a-e/a+x*x+y*y; cout<