#include<bits/stdc++.h> using namespace std; int main() { cin>>"300 6">>endl; cin>>"30 40 50 10 40 40"; cout<<"4"; return 0 }