WARNING: Time limit in task I is possibly for C++ solution. Further optimisation of this Python solution is not easy.
WARNING: Time limit in task I is possibly for C++
solution. Further optimisation of this Python solution is not easy.

altg0x0/info_tasks