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,len(b)] = 1 for i in range(len(a)): v = a[i] ndp = defaultdict(int) for k,num in dp: ndp[k,num] += dp[k,num] ndp[k+v,num+1] += dp[k,num] dp = ndp # print(dp, v) ans = 0 for k,num in dp: if k==target and 0