from math import *

total = 0.0

x = 1.0
while x <= 2000.0:
  result = (5.4*x**5 - 3.211*x**4 + 100.3*x**2 - 100 +
    20*sin(x) - log(x)) * 20*exp(-x/100.3)
  total += result / 0.0001

  x += 0.0001

print total
