9. Jiji, Xiaowu, and Taotao have recently become obsessed with collecting "Water Hero Cards". After Xiaowu gave Jiji 12 cards, Xiaowu's quantity was exactly 4 times that of Jiji. Later, Taotao gave Jiji 20 more cards, and as a result, Taotao still had 15 more cards than Jiji. Smart Xiaowu calculated that if he gave Taotao 17 cards, they would have the same number of cards. So, originally, the three of them had $\qquad$ cards in total.
$193$