In a school, the number of boys who play soccer is 3 times as much as the number of boys who play badminton. If 12 boys who play soccer play badminton instead, the number of boys who play each of these sports would be the same. Find the number of boys who play badminton.