import sys input = lambda : sys.stdin.readline().rstrip() sys.setrecursionlimit(2*10**5+10) write = lambda x: sys.stdout.write(x+"\n") debug = lambda x: sys.stderr.write(x+"\n") n,m,x,y,z = list(map(int, input().split())) V = "Handicapped" a = list(map(int, input().split())) b = [a[i] for i in range(n) if a[i]>=x] a = [a[i]-z for i in range(n) if x>a[i]>y] if len(b)>m: print(V) else: from collections import defaultdict target = z*len(b) - sum(b) dp = defaultdict(int) dp[0] = 1 for i in range(len(a)): v = a[i] ndp = defaultdict(int) for k in dp: ndp[k] += dp[k] ndp[k+v] += dp[k] dp = ndp # print(dp, v) ans = dp[target] if target==0 and len(b)==0: ans -= 1 print(ans)