#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n ; cin >> n ; int a[101] ; for( int i=0 ; i<101 ; i++){ a[i]=0 ; } for( int i=0 ; i> k ; a[k]++; } int tempco=0,maxco=0 ; for( int i=0 ; i<100 ; i++){ if(a[i]+a[i+1]>maxco) maxco=a[i]+a[i+1]; } // maxco=maxco>tempco?maxco:tempco ; cout<