#include #include #include #include #include #define rep(i,n) for(i=0; i> a #define out(a,b) cout << a << b using namespace std; using lint = long long; lint an(int n, int k, int m){ lint x; for(int i=0; i