#include <iostream>
using namespace std;
int main() {
int N, M;
cout << "N: ";
cin >> N;
cout << "M: ";
cin >> M;
}
#include <iostream>
using namespace std;
int main() {
int N, M;
cout << "N: ";
cin >> N;
cout << "M: ";
cin >> M;
}