Text this: Allocation of Fire Detector in Most Economical Way