fixed bugs in input()
fixed is_after
improved sales with reductions