in the name of god↵
==================↵
↵
i'm new to python and i write recursion function in it for solving [this problem](http://codeforces.net/problemset/problem/1195/C) and i get [runtime error on test 5.](http://codeforces.net/problemset/submission/1195/95969596)↵
why recursion function in python gets runtime error?↵
its ok in [c++](http://codeforces.net/problemset/submission/1195/95983455).
i'm new to python and i write recursion function in it for solving [this problem](http://codeforces.net/problemset/problem/1195/C) and i get [runtime error on test 5.](http://codeforces.net/problemset/submission/1195/95969596)↵
why recursion function in python gets runtime error?↵
its ok in [c++](http://codeforces.net/problemset/submission/1195/95983455).