#include #define INF 990000000 //26 using namespace std; int main() { int n,m; cin>>n>>m; int res=0; for(int i=0;i>s; for(int j=0;j