#include #define max 100000 int main() { int temp=0,count=0,i; int n,can[max]; scanf("%d",&n); for(i=0;i