#include #include using namespace std; int t[10]; int main(){ int a;scanf("%d",&a); for(int i=0;i0;i--){ if(t[ret]