Runtime Error Python 115A - Праздник
I'm getting runtime error in test 39.
is there any solution to optimize my code?
229671807
Codeforces Round 950 Solution Discussion