You find that the bid and ask prices for a stock are $12.65 and $13.40, respectively. If you purchase or sell the stock, you must pay a flat commission of $30. If you buy 300 shares of the stock and immediately sell them, what is your total implied and actual transaction cost in dollars?

a. $15
b. $180
c. $165
d. $30