The total sum of f(a,b) is 240000