N,M,X,Y,Z = map(int,input().split()) B = list(map(int,input().split())) A = [] for i in range(N): if B[i]>=X: A.append(B[i]) n = len(A) if n>M: print("Handicapped") else: for i in range(N): if Y=0: dp[i][j][k] += dp[i-1][j-1][k-A[i]] ans = 0 for j in range(1,M+1): # print(f"dp[N][{j}][{j*Z}]={dp[N][j][j*Z]}") ans += dp[N][j][j*Z] print(ans)