$_++,$n=$n&1?$n*3+1:$n/2+<>while$n-2;print