stack with min() demo print adjustment