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