//158
#include <stdio.h>
#include <stdlib.h>
typedef long i64;
typedef unsigned int u32;
#define fr(i,l) for(i64 i = 0;i<l;i++)
int asc32(const void*a,const void *b){
return *(u32*)a - *(u32*)b;
}
int main() {
i64 n;
u32
* u
=(u32
*)malloc(sizeof(u32
)*n
); u32
* e
=(u32
*)malloc(sizeof(u32
)*n
); fr(i,n)
fr(i,n)
qsort(u
,n
,sizeof(u32
),asc32
); qsort(e
,n
,sizeof(u32
),asc32
); fr(i,n){
if(u[i]<e[i]){
return 0;
}
}
return 0;
}
Ly8xNTgKCiNpbmNsdWRlIDxzdGRpby5oPgojaW5jbHVkZSA8c3RkbGliLmg+Cgp0eXBlZGVmIGxvbmcgaTY0Owp0eXBlZGVmIHVuc2lnbmVkIGludCB1MzI7CiNkZWZpbmUgZnIoaSxsKSBmb3IoaTY0IGkgPSAwO2k8bDtpKyspCgppbnQgYXNjMzIoY29uc3Qgdm9pZCphLGNvbnN0IHZvaWQgKmIpewoJcmV0dXJuICoodTMyKilhIC0gKih1MzIqKWI7Cn0KCmludCBtYWluKCkgewoJaTY0IG47CglzY2FuZigiJWxkIiwmbik7Cgl1MzIgKiB1PSh1MzIqKW1hbGxvYyhzaXplb2YodTMyKSpuKTsKCXUzMiAqIGU9KHUzMiopbWFsbG9jKHNpemVvZih1MzIpKm4pOwoJZnIoaSxuKQoJCXNjYW5mKCIldSIsJnVbaV0pOwoJZnIoaSxuKQoJCXNjYW5mKCIldSIsJmVbaV0pOwoJcXNvcnQodSxuLHNpemVvZih1MzIpLGFzYzMyKTsKCXFzb3J0KGUsbixzaXplb2YodTMyKSxhc2MzMik7CglmcihpLG4pewoJCWlmKHVbaV08ZVtpXSl7CgkJCXByaW50ZigiTm8iKTsKCQkJcmV0dXJuIDA7CgkJfQoJfQoJcHJpbnRmKCJZZXMiKTsKCQoJcmV0dXJuIDA7Cn0=