# 1454 : ツブ消ししとるなEasy from sys import stdin numTbutter,finalNumTB,notDelBorder,delBorder=list(map(int,stdin.readline().split())) tButter=list(map(int,stdin.readline().split())) tButter.sort(reverse=True) numLastTB=tButter[finalNumTB-1] if numLastTB>=notDelBorder: print('Handicapped') elif numLastTB>delBorder: print(sum(tButter[:finalNumTB])) else: for i in range(finalNumTB): if tButter[i]<=delBorder: break print(sum(tButter[:i]))