Retail prices in a department store are obtained by marking up the wholesale price by $40 \%$. That is, retail price is obtained by adding $40 \%$ of the wholesale price to the wholesale price.
(A) What is the retail price of a suit if the wholesale price is $\$ 300 ?$
(B) What is the wholesale price of a pair of jeans if the retail price is $\$ 77 ?$