MerlinZHOU data ads; input x @@; cards; 1 3 4 5 6 ; data finalds; set ads nobs=final; if _n_=final; run;