S1 the triple of a number is subtracted S its half is obtained 40. What is the number?

please i need the answer ASAP.​