Bankatlal works x hours a day and rests y hours a day. This pattern continues for 1 week, with an exactly opposite pattern next week, and so on for four weeks. Every fifth week he has a different pattern. When he works longer than he rests, his wage per hour is twice what he earns per hour when he rests longer than he works.
The following are his daily working hours for the weeks numbered 1 to 13.





For any natural number $k$, let $a_k = 3^k$. The smallest natural number $m$ for which \[ (a_1)^1 \times (a_2)^2 \times \dots \times (a_{20})^{20} \;<\; a_{21} \times a_{22} \times \dots \times a_{20+m} \] is: