Two models, $P$ and $Q$, of a product, earn profits of Rs.$100$ and Rs. $80$ per piece, respectively. Production times for $P$ and $Q$ are $5$ hours and $3$ hours, respectively, while the total production time available is $150$ hours. For a total batch size of $40$, to maximise profit, the number of units of $P$ to be produced is ________.