#include <bits/stdc++.h> using namespace std; int main() { cout<<"4"<<endl<<"1"; return 0; }////////////