Hans’s party includes 12 - 2 = <<12-2=10>>10 adults and 2 children.
The adults will cost 3 * 10 = $<<3*10=30>>30 for the deposit.
The children will cost 2 * 1 = $<<2*1=2>>2 for the deposit.
Thus, Hans has to pay 30 + 2 + 20 = $<<30+2+20=52>>52 as a deposit for the restaurant reservation.
#### 52