#include using namespace std; typedef long long ll; int arr[110]; int main () { //freopen("in.txt","r",stdin); //freopen("out.txt","w",stdout); std::ios::sync_with_stdio(false); cin.tie(NULL); int a; cin>>a; for(int i=0;i>t; arr[t]++; } int maxi=0; for(int i=1;i<100-1;i++){ maxi=max(maxi,arr[i]+arr[i+1]); } cout<