import math
import time

if __name__ == '__main__':
  start = time.time()

  entries = [i.strip().split(',')
             for i in open('Data/p099_base_exp.txt').readlines()]
  max_val = 0
  max_index = 0
  for index, entry in enumerate(entries):
    val = int(entry[1]) * math.log(int(entry[0]))
    if val > max_val:
      max_val = val
      max_index = index + 1
  print(max_index)
  print("Calculated in:", time.time() - start)
