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)
比べてみたらとても興味深かったです。↓↓↓
https://www.chart.co.jp/subject/sugaku/suken_tsushin/108/108-7.pdf