output_description: Print the index of the place where the palace should be built.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
      T A
      H_1 H_2 ... H_N
attempt: import sys
  
  def solve(N, T, A, ls_H):
      dosi = []
      titen = []
      titen1 = []
      ti = 100000
      for x in ls_H :
          do = T - x * 0.006
          dosi.append(do)
      #print(dosi)
      
      for y in dosi :
          ti = A - y
          titen.append(ti)
      #print(titen)
      
      for z in titen :
          titen1.append(abs(z))
      #print(titen1)
      
      for i in titen1 :
          if ti > i :
              ti = i
      #print(ti)
      return titen1.index(ti) + 1
  
  
  def readQuestion():
      ws = sys.stdin.readline().strip().split()
      N = int(ws[0])
      ws = sys.stdin.readline().strip().split()
      T = int(ws[0])
      A = int(ws[1])
      ws = sys.stdin.readline().strip().split()
      ls_H = list(map(int, ws))
      return (N, T, A, ls_H)
  
  def main():
      print(solve(*readQuestion()))
  
  # Uncomment before submission
   main()
problem_description: Statement
  
  A country decides to build a palace.
  
  In this country, the average temperature of a point at an elevation of x
  meters is T-x \times 0.006 degrees Celsius.
  
  There are N places proposed for the place. The elevation of Place i is H_i
  meters.
  
  Among them, Princess Joisino orders you to select the place whose average
  temperature is the closest to A degrees Celsius, and build the palace there.
  
  Print the index of the place where the palace should be built.
  
  It is guaranteed that the solution is unique.
samples: [{"input": "2\n    12 5\n    1000 2000", "output": "1\n    \n\n  * The average temperature of Place 1 is 12-1000 \\times 0.006=6 degrees Celsius.\n  * The average temperature of Place 2 is 12-2000 \\times 0.006=0 degrees Celsius.\n\nThus, the palace should be built at Place 1.\n\n* * *"}, {"input": "3\n    21 -11\n    81234 94124 52141", "output": "3"}]