Fatima found that the profit earned by the Bala dosa stall today is a three-digit number. She also noticed that the middle digit is half of the leftmost digit, while the rightmost digit is three times the middle digit. She then randomly interchanged the digits and obtained a different number. This number was more than the original number by 198. What was the middle digit of the profit amount?