a little boy Gerald enter clothe shop find unpleasant clothe turn match for example Gerald notice look ridiculous smoking suit baseball capOverall shop sell n clothing item exactly m pair clothing item match each item price represent integer number ruble Gerald want buy clothing item match besides want spend little money possible find possible sum spend