iter = 1, tmp = 5000000 greater than ans
iter = 2, tmp = 2500000 greater than ans
iter = 3, tmp = 1250000 greater than ans
iter = 4, tmp = 1875000 less than ans
iter = 5, tmp = 2187500 less than ans
iter = 6, tmp = 2343750 less than ans
iter = 7, tmp = 2421875 less than ans
iter = 8, tmp = 2460937 less than ans
iter = 9, tmp = 2441406 greater than ans
iter = 10, tmp = 2451171 less than ans
iter = 11, tmp = 2456053 less than ans
iter = 12, tmp = 2458494 less than ans
iter = 13, tmp = 2457274 greater than ans
iter = 14, tmp = 2456664 greater than ans
iter = 15, tmp = 2456359 greater than ans
iter = 16, tmp = 2456511 less than ans
iter = 17, tmp = 2456587 less than ans
iter = 18, tmp = 2456625 less than ans
iter = 19, tmp = 2456644 less than ans
iter = 20, tmp = 2456653 less than ans
iter = 21, tmp = 2456657 less than ans
iter = 22, tmp = 2456659 less than ans
iter = 23, tmp = 2456660 less than ans
iter = 24, tmp = 2456661 less than ans
iter = 25, tmp = 2456662 hit!