Total = 40 Medals.
Explanation:
Let us consider G = Gold , S = Silver and B = Bronze
as per the given equation,
S + B = 33
G + B = 29
G + S = 18
Solving these Equations we get,
G = 7, S = 11 and B = 22
Gold= 7 ; Silver= 11; Bronze= 22
Total coins= 40