42. If there are limits on the amount a candidate can spend, what is the limit?

Brazil
Lei nº 13.165, de 29 de setembro de 2017
http://www.planalto.gov.br/ccivil_03/_ato2015-2018/2015/lei/l13165.htm.
A spending limit is calculated prior to an election and set depending on the office a candidate is contesting:
President: $22.1 million in the first round, and half that amount in case of a second round.
Governor: from $884.6 thousand to $6.6 million, depending on the number of voters in a state.
Senator: from $790 thousand to $1.77 million, depending on the number of voters in a state.
Federal Deputy: $790 thousand.
State or District Deputy: $316 thousand.