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.
2023 ICPC Asia West Continent Final Contest (live commentary)