#include <stdio.h>
int main(void) {
int sd,i,min,data[10],sd_min;
for(i=0;i<10;i++)
min = data[0];
for(i=1;i<10;i++)
if(min > data[i])
min = data[i];
sd_min= 1000;
for(i=1;i<10;i++)
if(sd_min > data[i] && sd_min!=min )
sd_min = data[i];
for(i=0;i<10;i++)
if(sd_min == data[i])
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKHZvaWQpIHsKaW50IHNkLGksbWluLGRhdGFbMTBdLHNkX21pbjsKZm9yKGk9MDtpPDEwO2krKykKIHNjYW5mKCIlZCIsJmRhdGFbaV0pOwogCm1pbiA9IGRhdGFbMF07Cgpmb3IoaT0xO2k8MTA7aSsrKSAKIGlmKG1pbiA+IGRhdGFbaV0pCiAgbWluID0gZGF0YVtpXTsKc2RfbWluPSAxMDAwOwpmb3IoaT0xO2k8MTA7aSsrKSAKIGlmKHNkX21pbiA+IGRhdGFbaV0gJiYgc2RfbWluIT1taW4gKQogIHNkX21pbiA9IGRhdGFbaV07Cgpmb3IoaT0wO2k8MTA7aSsrKQogaWYoc2RfbWluID09IGRhdGFbaV0pCiAgcHJpbnRmKCI55L2NOiVk5Lq655uuIixpKzEpOwpyZXR1cm4gMDsKfQ==