You have to make a TT for a school. Here are the constraints / requirements.
There are 13 Physics periods, 8 Maths and 4 Chemistry periods per week. There are 5 periods daily. The physics teacher comes only on Mon, Fri, Sat. Chemistry teacher comes only on Tue. Maths teacher comes on Wed, Fri and Sat. School works 6 days a week.
Other periods will be for other subjects such as English, Biology etc.