they are random per play
sometimes the machine can reduce the price several times
and sometimes an amount can give you 2 different items in the same save, for instance in the one i'm now If i insert 1000 i get 1000 seeds that i can exchange with the old lady for the surplus but sometimes i get fried chicken