H.17 Four articles in four boxes with price tag

Since the article of 100 yen, 200 yen, 300 yen, and 400 yen had been put into four boxes of the same size, it was not distinguishable anymore from outside.
When attaching a 100 yen, 200 yen, 300 yen, and 400 yen price tag to these four boxes, respectively, how many ways are there to attach price tag in which only one pair of the price tag and the price of an article is matched?








Answer
8 ways