#include #include #include #include #include using namespace std; int main() { long int n,m; cin>>n>>m; long int cuts=m-1; for(long int i=0;i