Initial implementation - TLE on test #3.
Initial implementation - TLE on test #8.
Some optimization - TLE on test #12.
Code for problem 346C.
Remove P346C.py