for 2, there's a much simpler way

using >> and &

請您先登陸,再發跟帖!