n,s,k=map(int,input().split()) ans = [] for i in range(n): a = int(input()) if abs (a - s) <= k: ans.append(i+1) if ans != []: print(min(ans)) else: print('Unlucky!')