d,l,r,k=map(int,input().split()) M=10**9+7 N=1<=0 and (k-(dr-dl))%2==0: dm=dl-(k-(dr-dl))//2 if dm==dl: a*=pow(fa[1<