mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
da5da8ec9f
3100-3199
17 lines
341 B
C++
17 lines
341 B
C++
#include <stdio.h>
|
|
int main(){
|
|
int n,i,a;
|
|
int f[50];
|
|
while(scanf("%d",&n),n){
|
|
for(i=0;i<50;i++)
|
|
f[i]=0;
|
|
for(i=0;i<n*6;i++){
|
|
scanf("%d",&a);
|
|
f[a]=1;
|
|
}
|
|
for(i=1;i<50;i++)
|
|
if(f[i]==0)i=60;
|
|
printf("%s\n",i>55?"No":"Yes");
|
|
}
|
|
}
|