#include #include #include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { int N,X,A,B; cin>>N; cin>>X; cin>>A; cin>>B; int i; LL value=1; for (i=1;i