#include int main(){ int i; int n; int j; int t; int e; int a[50]; int num[50]; scanf("%d",&n); for(i=0;i