n, m, x, y = map(int, input().split()) a = list(map(int, input().split())) a.sort(reverse=True) if n > m and a[m] >= x: print('Handicapped') else: ans = 0 for i in range(m): if a[i] > y: ans += a[i] print(ans)