it depends on what you want to do... but my general reflex is:
- go to line 3
- start recording a temporary macro ("qq" in my habits)
- do the editing
- stop the macro ("q")
- go to the line 16 with 16gg and reply the macro with @q - 39gg@q
- 50gg@q
- ...