#include #define int long long using namespace std; const int inf=1e18; signed main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int n,s,t,k;cin>>n>>s>>t>>k; s--;t--; vectora(n); for(int i=0;i>a[i]; if(a[s]>k||a[t]>k){ cout<<-1<