Is there any who help me to solve that(https://codeforces.com/problemset/problem/1325/B) problem with python..my code is given below but with a runtime error?
n_case=