Five lectures L1, L2, L3, L4, L5 must be scheduled from Monday to Friday (one each day).
Five professors A, B, C, D, E will take one lecture each.
Constraints:
1. A takes L3.
2. L2 must be scheduled after L5.
3. C does not teach on Wednesday or Friday.
4. D teaches before E.
5. B does not teach L4.
How many valid schedules are possible?