ll@n,@k;k-=(1..n)&&rd_ll()>29;wt(k>0?"No":"Yes");