I tried but couldn\'t do, can anyone help me in python solution for given problem. Please check link for full test cases and all.byteland coin problem