Maxim has won three times the number of fights that Juan has won. Juan has won 12 fewer fights than Maxim. How many fights has Maxim won?