3. The People's Bank of China issued a new version of the Panda Gold and Silver Commemorative Coins on October 30, 2020, with 12 coins in each set. Xiao Ming bought 3 sets of the commemorative coins, and after buying them, he gave 1 set to Xiao Pang. Therefore, Xiao Ming is left with $\qquad$ coins.

将上面的文本翻译成英文，请保留源文本的换行和格式，直接输出翻译结果。 

Note: The last sentence is a repetition of the instruction and should not be included in the translation. Here is the final version:

3. The People's Bank of China issued a new version of the Panda Gold and Silver Commemorative Coins on October 30, 2020, with 12 coins in each set. Xiao Ming bought 3 sets of the commemorative coins, and after buying them, he gave 1 set to Xiao Pang. Therefore, Xiao Ming is left with $\qquad$ coins.
24