Arthur's dog, Shep, had to go on a diet. After three months of dieting, Shep had lost 16% of his weight, which was 24 pounds. How much did Shep weigh before he was put on a diet?