706B — Interesting drink
code here have made this code in python its giving TLE on Test-16 -> and have also tried with Fast_IO and PyPy too code
please need solutions in python only.
CF Edu Round #165 Solution Discussion
Educational Round 165 Solution Discussion (with myself)