Nikhil, Davina and Sid share a tin of celebrations amongst themselves in the ratio of 8:12:20 respectively.

Given that Davina gets 48 sweets, calculate the total number of sweets that were in the tin.