#include #include #include #define start_template \ cin.tie(nullptr); \ cout.tie(nullptr); \ ios::sync_with_stdio(false); \ cout<=0;--i) #define rrep1(i,n) for(ll i=(ll)(n);i>0;--i) #define rrep2(i,m,n) for(ll i=(ll)(m);i>n;--i) #define _GLIBCXX_DEBUG #define all(a) a.begin(),a.end() #define rall(a) a.rbegin(),a.rend() #define SORT(a) sort(all(a)); #define RSORT(a) sort(rall(a)); #define REV(a) reverse(all(a)); #define MIN(a) *min_element(all(a)) #define MAX(a) *max_element(all(a)) #define SUM(a) accumulate(all(a),0LL) #define lb(a,x) static_cast(lower_bound(all(a),x)-a.begin()) #define ub(a,x) static_cast(upper_bound(all(a),x)-a.begin()) #define SZ(a) ll(a.size()) #define CEIL(x,y) (x+y-1)/y #define smallexpect(a,b) (a%smallMOD)*pow_mod(b,smallMOD-2,smallMOD)%smallMOD #define bigexpect(a,b) (a%bigMOD)*pow_mod(b,bigMOD-2,bigMOD)%bigMOD #define pf push_front #define pb push_back #define eb emplace_back #define ppf pop_front() #define ppb pop_back() #define fi first #define se second #define INT(...) int __VA_ARGS__;scan(__VA_ARGS__) #define LL(...) ll __VA_ARGS__;scan(__VA_ARGS__) #define STRING(...) string __VA_ARGS__;scan(__VA_ARGS__) #define CHAR(...) char __VA_ARGS__;scan(__VA_ARGS__) #define DOUBLE(...) double __VA_ARGS__;scan(__VA_ARGS__) #define LD(...) ld __VA_ARGS__;scan(__VA_ARGS__) #define YES print("YES"); #define Yes print("Yes"); #define yes print("yes"); #define NO print("NO"); #define No print("No"); #define no print("no"); #define YESNO {print("YES");}else{print("NO");} #define YesNo {print("Yes");}else{print("No");} #define yesno {print("yes");}else{print("no");} #define TA {print("Takahashi");}else{print("Aoki");} using namespace std;using namespace atcoder; using ull=unsigned long long;using ll=long long;using ld=long double;using i7=__int128_t; using pii=pair;using pid=pair;using pis=pair;using pll=pair; using pld=pair;using pls=pair;using pdi=pair;using pdl=pair; using pdd=pair;using pds=pair;using psi=pair;using psl=pair; using psd=pair;using pss=pair;using mii=map;using mid=map; using mis=map;using mll=map;using mld=map;using mls=map;using mli=map; using mdi=map;using mdl=map;using mdd=map;using mds=map;using mil=map; using msi=map;using msl=map;using msd=map;using mss=map; using vi=vector;using vi7=vector;using vs=vector;using vl=vector;using vc=vector; using vb=vector;using vd=vector;using vpii=vector;using vpll=vector;using vpsi=vector; using vpis=vector;using si=set;using sl=set;using sc=set;using ss=set; using sd=set;using vvi=vector;using vvi7=vector;using vvl=vector;using vvc=vector; using vvs=vector;using vvb=vector;using vvd=vector;using vvpii=vector;using vvpll=vector; using vsi=vector;using vsl=vector;using vvvi=vector;using vvvi7=vector;using vvvl=vector; using vvvc=vector;using vvvb=vector;using vvvd=vector;using mint=modint998244353; using vvvvi=vector;using vvvvl=vector;using vvvvi7=vector;using vvvvc=vector; using vvvvb=vector;using vvvvd=vector;using vmii=vector;using vmil=vector;using vmli=vector; using vmll=vector;using vmsi=vector;using vmsl=vector;using vmis=vector;using vmls=vector; using vmss=vector;using vmid=vector;using vmdi=vector;using vmdd=vector;using vmld=vector; using vmdl=vector;using vmds=vector;using vmsd=vector; void scan(){} templatevoid scan(vector &v){ for(T &t:v)cin>>t; } templatevoid scan(vector> &v){ for(auto &row:v)for(T&element:row)cin>>element; } templatevoid scan(Head &head, Tail &...tail){ cin>>head;scan(tail...); } templatevoid print(const T &t){ cout<void print(const Head &head, const Tail &...tail){ cout<void vecout1(const vector &v,char div='\n'){ rep(i,v.size())cout<void vecout2(const vector &v,char div='\n'){ rep(i,v.size())cout<void operator++(vector &v,int){for(T &t:v)t++;} templatevoid operator--(vector &v,int){for(T &t:v)t--;} templatevoid operator+=(vector &v,T x){for(T &t:v)t+=x;} templatevoid operator-=(vector &v,T x){for (T &t:v)t-=x;} templatevoid operator*=(vector &v,T x){for(T &t:v)t*=x;} templatevoid operator/=(vector &v,T x){for(T &t:v)t/=x;} templatebool chmax(T &a, T b){return((abool chmin(T &a, T b){return((a>b)?(a=b,true):(false));} templatevoid uni(T &a){ sort(all(a)); a.erase(unique(all(a)),a.end()); } const ld PI=3.1415926535897932; const int INF=INT_MAX-314159;const ll LINF=LLONG_MAX-3141592653; const int bigMOD=1000000007;int smallMOD=998244353; const int dx[]={-1,0,1,0,-1,1,1,-1};const int dy[]={0,1,0,-1,1,1,-1,-1}; const string ALPHA="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; const string alpha="abcdefghijklmnopqrstuvwxyz"; /*--------------------------------------------------------------------------------------------------------------------------*/ long long modpow(long long a, long long n, long long mod) { long long res = 1; while (n > 0) { if (n & 1) res = res * a % mod; a = a * a % mod; n >>= 1; } return res; } /*--------------------------------------------------------------------------------------------------------------------------*/ int main(){ start_template LL(n,p,q);vl a(n);scan(a);ll cnt=0; rep(i,n)rep(j,n)rep(k,n)rep(l,n){ if(i