Ans is 127.
Lets say there is a pie chart having two slots between 0-2 (i.e, 0-1 and 1-2).
According to highest profit, T1 is executed first in the slot 1-2 (say). Next T4 is executed in the slot 0-1. No other jobs can be scheduled after T1, T4. So max profit 100+27=127.