#include<bits/stdc++.h>
using namespace std;
int main()
{
int sht[100002]={0},nz=INT_MAX,s=0,a=0,b=1;
while(1)
{
cin>>sht[s];
if(sht[s]==0)
break;
s++;
}
s++;
sort(sht,sht+s-1);
reverse(sht,sht+s-1);
for(int i=0;i<s;i++)
{
if(nz<sht[i])
{
b++;
}
else
{
a++;
nz=sht[i];
}
}
cout<<a<<endl<<b;
}
是输入有问题吗